File: pkg.ml

package info (click to toggle)
react 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 320 kB
  • sloc: ml: 3,571; makefile: 18
file content (22 lines) | stat: -rwxr-xr-x 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env ocaml
#use "topfind"
#require "topkg"
open Topkg

let jsoo_test ~cond test =
  Pkg.flatten
    [ Pkg.test ~run:false ~cond ~auto:false (test ^ ".js");
      Pkg.test ~run:false ~cond ~auto:false (test ^ ".html"); ]

let () =
  Pkg.describe "react" @@ fun c ->
  Ok [ Pkg.mllib "src/react.mllib";
       Pkg.mllib ~api:[] "src/react_top.mllib";
       Pkg.lib "src/react_top_init.ml";
       Pkg.test ~run:false "test/breakout";
       Pkg.test ~run:false "test/clock";
       Pkg.test "test/test";
       Pkg.doc "doc/index.mld" ~dst:"odoc-pages/index.mld";
    (* jsoo_test ~cond:jsoo "test/js_hisig_test";
       jsoo_test ~cond:jsoo "test/js_test"; *)
     ]