-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upgrade to dune and Opam 2 #3
base: master
Are you sure you want to change the base?
Conversation
@andreas, I'm not sure if had a chance to look at this. |
Sorry for the late reply — for some reason I didn’t get an email notification about the PR. I’ll take a look this week. |
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 for doing this! I added a few comments.
dataloader-lwt/test/dune
Outdated
(deps | ||
(:< test.exe)) | ||
(action | ||
(run %{<} -v))) |
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 this file can be define more concisely like so:
(test
(libraries dataloader-lwt lwt.unix alcotest)
(name test))
dataloader/test/dune
Outdated
(deps | ||
(:< test.exe)) | ||
(action | ||
(run %{<} -v))) |
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.
This file can be shortened like the other one 😄
dataloader.opam
Outdated
depends: [ | ||
"jbuilder" {build} | ||
"ocaml" {>= "4.03.0"} | ||
"dune" {build & >= "1.0"} | ||
"rresult" |
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.
It turns out rresult
is not used, so would be great to remove.
dataloader/src/dune
Outdated
(name dataloader) | ||
(public_name dataloader) | ||
(wrapped false) | ||
(libraries result)) |
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.
result
can be removed here 😄
annotate alcotest with `{with-test}` variable Co-Authored-By: Andreas Garnaes <andreas@users.noreply.github.com>
test annotation for alcotest Co-Authored-By: Andreas Garnaes <andreas@users.noreply.github.com>
No description provided.