File: pkg.ml

package info (click to toggle)
cmdliner 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: ml: 7,287; sh: 146; makefile: 108
file content (17 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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" ]