You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to make a test that just installs dune and ocamlformat and runs dune fmt. I don't want to install all the dependencies of my
project - just dune and ocamlformat.
Run opam install -y dune ocamlformat
[ERROR] No switch is currently set. Please use 'opam switch' to set or install a switch
'opam install -y dune ocamlformat' failed.
Error: Process completed with exit code 50.
I think I could work around this by checking out the project before setting up ocaml but that would waste time downloading dependencies that I don't need for this test.
The text was updated successfully, but these errors were encountered:
I think I could work around this by checking out the project before setting up ocaml but that would waste time downloading dependencies that I don't need for this test.
I believe the undesired behaviour can be avoided by disabling pinning:
The next major refactoring will improve the handling of such things, but I've been working on a lot of real world stuff lately and the ETA is still not clear... @psafont's suggestion is the best in the short term.
I want to make a test that just installs dune and ocamlformat and runs
dune fmt
. I don't want to install all the dependencies of myproject - just dune and ocamlformat.
Currently this doesn't work:
The error is:
This is part of the log here: https://github.com/gridbugs/llama/actions/runs/5687888861/job/15416935603
I think I could work around this by checking out the project before setting up ocaml but that would waste time downloading dependencies that I don't need for this test.
The text was updated successfully, but these errors were encountered: