-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] gobba (0.4.1) #15690
[new release] gobba (0.4.1) #15690
Conversation
cb87a18
to
1d28833
Compare
packages/gobba/gobba.0.4.1/opam
Outdated
|
||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
[make "test" "-j" jobs] {with-test} |
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.
[make "test" "-j" jobs] {with-test} | |
["sh" "-c" "GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -p %{name}% -j %{jobs}%"] {with-test} | |
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test} |
This should be much better.
What is in your makefile is not correct for releases:
dune clean
dune build -j $(JOBS)
dune build @install
GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -f
bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out;
First of all, dune should never be called in releases without -p name
or --profile=release
, this might break this package in the future as dune turns some warnings as error by default. Then the package is built twice (dune build -p name -j jobs above, then dune clean & dune build again), this is unnecessary.
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.
Thank you for your dozens of suggestions!
1d28833
to
6b3dd71
Compare
packages/gobba/gobba.0.4.1/opam
Outdated
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
["sh" "-c" "GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -p %{name}% -j %{jobs}%"] {with-test} | ||
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test} |
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.
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test} |
Arf sorry that's not working and needs rewiring (see ocaml/dune#57), but also this makes no sense for opam users anyway. I think having only the runtest
phase is good enough, my bad.
CHANGES: - Renamed project from minicaml to `gobba`! - Syntax is now more haskel-ly: use `,` to separate list and dictionary values, use `>>` to sequence operations (bind) and use `;` to end statements. - Improved purity inference algorithm with correct module inference - Some minor improvements
6b3dd71
to
73068aa
Compare
Thanks |
A simple, didactical, purely functional programming language
CHANGES:
gobba
!,
to separate list and dictionary values,use
>>
to sequence operations (bind) and use;
to end statements.