This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(executable
|
||||
(name main)
|
||||
(public_name main)
|
||||
(promote (until-clean))
|
||||
(libraries dune-build-info dune-site))
|
||||
|
||||
(generate_sites_module
|
||||
(module SitesModule)
|
||||
(sites github4389))
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(lang dune 2.9)
|
||||
(using dune_site 0.1)
|
||||
|
||||
(package
|
||||
(name github4389)
|
||||
(sites (share github4389)))
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
let version =
|
||||
match Build_info.V1.version () with
|
||||
| None -> "n/a"
|
||||
| Some v -> Build_info.V1.Version.to_string v
|
||||
|
||||
let () =
|
||||
Format.eprintf "%s@." version;
|
||||
List.iter
|
||||
(fun x -> Format.eprintf "%s@." x)
|
||||
SitesModule.Sites.github4389
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
$ dune build @install
|
||||
$ dune install --prefix _install --display short
|
||||
Installing _install/lib/github4389/META
|
||||
Installing _install/lib/github4389/dune-package
|
||||
Installing _install/bin/main
|
||||
$ grep sites _install/lib/github4389/dune-package
|
||||
(sites (github4389 share))
|
||||
$ grep -o '[^ ]*/_install/share/github4389' _install/lib/github4389/dune-package
|
||||
$TESTCASE_ROOT/_install/share/github4389
|
||||
$ _install/bin/main
|
||||
n/a
|
||||
$TESTCASE_ROOT/_install/share/github4389/github4389
|
||||
Loading…
Add table
Add a link
Reference in a new issue