summaryrefslogtreecommitdiff
path: root/pkg/pkg.ml
blob: 22a1267602250c21cb621a3e4a4928e482bc41c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env ocaml
#use "topfind"
#require "topkg"
open Topkg

let () =
  Pkg.describe "ptime" @@ fun c ->
  Ok [ Pkg.mllib "src/ptime.mllib";
       Pkg.mllib ~api:[] "src/ptime_top.mllib" ~dst_dir:"top/";
       Pkg.lib "src/ptime_top_init.ml";
       Pkg.mllib "src-clock/ptime_clock.mllib" ~dst_dir:"clock/os/";
       Pkg.clib "src-clock/libptime_clock_stubs.clib" ~lib_dst_dir:"clock/os/";
       Pkg.lib "src-clock/runtime.js" ~dst:"clock/os/";
       Pkg.test "test/test";
       Pkg.test "test/test_unix";
       Pkg.test "test/basics";
       Pkg.doc "doc/index.mld" ~dst:"odoc-pages/index.mld";
       Pkg.doc "test/min_clock.ml"; ]