This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
46
unikernel/duniverse/fmt/pkg/META
Normal file
46
unikernel/duniverse/fmt/pkg/META
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
description = "OCaml Format pretty-printer combinators"
|
||||
version = "0.11.0+dune"
|
||||
requires = ""
|
||||
archive(byte) = "fmt.cma"
|
||||
archive(native) = "fmt.cmxa"
|
||||
plugin(byte) = "fmt.cma"
|
||||
plugin(native) = "fmt.cmxs"
|
||||
exists_if = "fmt.cma fmt.cmxa"
|
||||
|
||||
package "cli" (
|
||||
directory = "cli"
|
||||
description = "The fmt.cli library"
|
||||
version = "0.11.0+dune"
|
||||
requires = "cmdliner fmt"
|
||||
exports = "fmt"
|
||||
archive(byte) = "fmt_cli.cma"
|
||||
archive(native) = "fmt_cli.cmxa"
|
||||
plugin(byte) = "fmt_cli.cma"
|
||||
plugin(native) = "fmt_cli.cmxs"
|
||||
exists_if = "fmt_cli.cma fmt_cli.cmxa"
|
||||
)
|
||||
|
||||
package "top" (
|
||||
directory = "top"
|
||||
description = "The fmt.top library"
|
||||
version = "0.11.0+dune"
|
||||
requires = "fmt fmt.tty"
|
||||
archive(byte) = "fmt_top.cma"
|
||||
archive(native) = "fmt_top.cmxa"
|
||||
plugin(byte) = "fmt_top.cma"
|
||||
plugin(native) = "fmt_top.cmxs"
|
||||
exists_if = "fmt_top.cma fmt_top.cmxa"
|
||||
)
|
||||
|
||||
package "tty" (
|
||||
directory = "tty"
|
||||
description = "The fmt.tty library"
|
||||
version = "0.11.0+dune"
|
||||
requires = "unix fmt"
|
||||
exports = "fmt"
|
||||
archive(byte) = "fmt_tty.cma"
|
||||
archive(native) = "fmt_tty.cmxa"
|
||||
plugin(byte) = "fmt_tty.cma"
|
||||
plugin(native) = "fmt_tty.cmxs"
|
||||
exists_if = "fmt_tty.cma fmt_tty.cmxa"
|
||||
)
|
||||
18
unikernel/duniverse/fmt/pkg/pkg.ml
Executable file
18
unikernel/duniverse/fmt/pkg/pkg.ml
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env ocaml
|
||||
#use "topfind"
|
||||
#require "topkg"
|
||||
open Topkg
|
||||
|
||||
let unix = Conf.with_pkg "base-unix"
|
||||
let cmdliner = Conf.with_pkg "cmdliner"
|
||||
|
||||
let () =
|
||||
Pkg.describe "fmt" @@ fun c ->
|
||||
let unix = Conf.value c unix in
|
||||
let cmdliner = Conf.value c cmdliner in
|
||||
Ok [ Pkg.mllib "src/fmt.mllib";
|
||||
Pkg.mllib ~cond:unix ~dst_dir:"tty" "src/tty/fmt_tty.mllib";
|
||||
Pkg.mllib ~cond:cmdliner ~dst_dir:"cli" "src/cli/fmt_cli.mllib";
|
||||
Pkg.mllib ~api:[] ~dst_dir:"top" "src/top/fmt_top.mllib";
|
||||
Pkg.lib ~dst:"top/fmt_tty_top_init.ml" "src/top/fmt_tty_top_init.ml";
|
||||
Pkg.doc "doc/index.mld" ~dst:"odoc-pages/index.mld" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue