File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 2929 astring
3030 ( fmt ( >= 0 .8.9) )
3131 logs
32- ( cmdliner ( >= 1 .3 .0) )
32+ ( cmdliner ( >= 2 .0 .0) )
3333 ( tar-unix ( and ( >= 2 .6.0) ( < 3 .0.0) ) )
3434 ( yojson ( >= 1 .6.0) )
3535 sexplib
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ depends: [
2929 "astring"
3030 "fmt" {>= "0.8.9"}
3131 "logs"
32- "cmdliner" {>= "1.3 .0"}
32+ "cmdliner" {>= "2.0 .0"}
3333 "tar-unix" {>= "2.6.0" & < "3.0.0"}
3434 "yojson" {>= "1.6.0"}
3535 "sexplib"
@@ -45,6 +45,7 @@ depends: [
4545 "alcotest-lwt" {>= "1.7.0" & with-test}
4646 "odoc" {with-doc}
4747]
48+ dev-repo: "git+https://github.com/ocurrent/obuilder.git"
4849build: [
4950 ["dune" "subst"] {dev}
5051 [
@@ -58,5 +59,11 @@ build: [
5859 "@runtest" {with-test}
5960 "@doc" {with-doc}
6061 ]
62+ [
63+ "cmdliner" "install" "tool-support"
64+ "--update-opam-install=%{_:name}%.install"
65+ "_build/install/default/bin/obuilder" {os-family != "windows"}
66+ "_build/install/default/bin/obuilder.exe" {os-family = "windows"}
67+ "_build/cmdliner-install"
68+ ]
6169]
62- dev-repo: "git+https://github.com/ocurrent/obuilder.git"
Original file line number Diff line number Diff line change 1+ build: [
2+ ["dune" "subst"] {dev}
3+ [
4+ "dune"
5+ "build"
6+ "-p"
7+ name
8+ "-j"
9+ jobs
10+ "@install"
11+ "@runtest" {with-test}
12+ "@doc" {with-doc}
13+ ]
14+ [
15+ "cmdliner" "install" "tool-support"
16+ "--update-opam-install=%{_:name}%.install"
17+ "_build/install/default/bin/obuilder" {os-family != "windows"}
18+ "_build/install/default/bin/obuilder.exe" {os-family = "windows"}
19+ "_build/cmdliner-install"
20+ ]
21+ ]
You can’t perform that action at this time.
0 commit comments