This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
27
unikernel/duniverse/bos/pkg/META
Normal file
27
unikernel/duniverse/bos/pkg/META
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
description = "Basic OS interaction for OCaml"
|
||||
version = "0.2.1+dune"
|
||||
requires = "rresult astring fpath fmt unix logs"
|
||||
archive(byte) = "bos.cma"
|
||||
archive(native) = "bos.cmxa"
|
||||
plugin(byte) = "bos.cma"
|
||||
plugin(native) = "bos.cmxs"
|
||||
|
||||
package "top" (
|
||||
description = "Bos toplevel support"
|
||||
version = "0.2.1+dune"
|
||||
requires = "rresult.top astring.top fpath.top fmt.top logs.top bos"
|
||||
archive(byte) = "bos_top.cma"
|
||||
archive(native) = "bos_top.cmxa"
|
||||
plugin(byte) = "bos_top.cma"
|
||||
plugin(native) = "bos_top.cmxs"
|
||||
)
|
||||
|
||||
package "setup" (
|
||||
description = "Bos quick setup for simple programs"
|
||||
version = "0.2.1+dune"
|
||||
requires = "fmt.tty logs.fmt bos"
|
||||
archive(byte) = "bos_setup.cma"
|
||||
archive(native) = "bos_setup.cmxa"
|
||||
plugin(byte) = "bos_setup.cma"
|
||||
plugin(native) = "bos_setup.cmxs"
|
||||
)
|
||||
15
unikernel/duniverse/bos/pkg/pkg.ml
Executable file
15
unikernel/duniverse/bos/pkg/pkg.ml
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env ocaml
|
||||
#use "topfind"
|
||||
#require "topkg"
|
||||
open Topkg
|
||||
|
||||
let () =
|
||||
Pkg.describe "bos" @@ fun c ->
|
||||
Ok [ Pkg.mllib ~api:["Bos"] "src/bos.mllib";
|
||||
Pkg.mllib "src/bos_setup.mllib";
|
||||
Pkg.mllib ~api:[] "src/bos_top.mllib";
|
||||
Pkg.lib "src/bos_top_init.ml";
|
||||
Pkg.test "test/test";
|
||||
Pkg.test ~run:false "test/test_arg";
|
||||
Pkg.test ~run:false "test/test_arg_pos";
|
||||
Pkg.test ~run:false "test/watch"; ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue