-
Notifications
You must be signed in to change notification settings - Fork 3
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
Just a 'bureaucratic' update (jbuilder -> dune, opam -> opam 2.0) #2
Conversation
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.
Thanks! Just have a couple nits.
Makefile
Outdated
@@ -1,6 +1,6 @@ | |||
.PHONY : run | |||
run : | |||
jbuilder build --dev tester/tester.exe reporter/reporter.exe | |||
dune build --profile=dev tester/tester.exe reporter/reporter.exe |
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.
I think --profile=dev
could just be dropped, since it is the default.
faster-map.opam
Outdated
opam-version: "1.2" | ||
opam-version: "2.0" | ||
synopsis: "A tail-recursive list map with good performance for all list sizes. Not actually written in assembly" | ||
authors: "<Anton Bachin> antonbachin@yahoo.com" |
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.
IIRC this is should be name <email>
, not <name> email
.
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.
Thanks.
faster-map.opam
Outdated
|
||
depends: [ | ||
"base" | ||
"batteries" | ||
"containers" | ||
"core_bench" | ||
"jbuilder" {build & >= "1.0+beta13"} | ||
"dune" {build & >= "1.0"} |
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.
dune
should be a non-build dependency. See ocaml/opam-repository#14266.
Thanks! |
Thank you very much for your repo - I am going to use it for benchmarking TRMC. Since I need to convert it to dune anyway, I am making a PR to update your repo.
No functionality changes done, only:
jbuilder
/dune
/ + a small updates of command line arguments todune
dune upgrade
as advised bydune
..opam
to passopam lint
foropam
version 2.1.0~beta.Please feel free to close this PR without comments and/or merging.