-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dune-build-info to manage version information #1783
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
(name jsoo_minify) | ||
(public_name jsoo_minify) | ||
(package js_of_ocaml-compiler) | ||
(libraries jsoo_cmdline js_of_ocaml-compiler cmdliner compiler-libs.common) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. js_of_ocaml-compiler is a direct dependency |
||
(libraries jsoo_cmdline cmdliner js_of_ocaml-compiler.version) | ||
(flags | ||
(:standard -safe-string))) | ||
|
||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(library | ||
(name jsoo_version) | ||
(public_name js_of_ocaml-compiler.version) | ||
(libraries dune-build-info)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
let get () = | ||
match Build_info.V1.version () with | ||
| None -> "dev" | ||
| Some v -> Build_info.V1.Version.to_string v |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
js_of_ocaml-compiler is a (direct) dependency