This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
8
unikernel/duniverse/cmdliner/pkg/META
Normal file
8
unikernel/duniverse/cmdliner/pkg/META
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
description = "Declarative definition of command line interfaces for OCaml"
|
||||
version = "2.0.0+dune"
|
||||
requires = ""
|
||||
archive(byte) = "cmdliner.cma"
|
||||
archive(native) = "cmdliner.cmxa"
|
||||
plugin(byte) = "cmdliner.cma"
|
||||
plugin(native) = "cmdliner.cmxs"
|
||||
exists_if = "cmdliner.cma cmdliner.cmxa"
|
||||
17
unikernel/duniverse/cmdliner/pkg/pkg.ml
Executable file
17
unikernel/duniverse/cmdliner/pkg/pkg.ml
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env ocaml
|
||||
#use "topfind"
|
||||
#require "topkg"
|
||||
open Topkg
|
||||
|
||||
(* This is only here for `topkg distrib`. Remove once
|
||||
we switch to `b0 -- .release` *)
|
||||
|
||||
let distrib =
|
||||
(* The default removes Makefile *)
|
||||
let exclude_paths () = Ok [".git";".gitignore";".gitattributes";"_build"] in
|
||||
Pkg.distrib ~exclude_paths ()
|
||||
|
||||
let () =
|
||||
let opams = [Pkg.opam_file "cmdliner.opam"] in
|
||||
Pkg.describe "cmdliner" ~distrib ~opams @@ fun c ->
|
||||
Ok [ Pkg.mllib ~api:["Cmdliner"] "src/cmdliner.mllib" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue