Commit d2b904f6 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Improve [make dune] to restore the original active switch.

parent 8ff406b8
......@@ -122,11 +122,13 @@ versions:
.PHONY: dune
dune:
@ for v in $(VERSIONS) ; do \
@ current=`opam switch show` ; \
for v in $(VERSIONS) ; do \
opam switch $$v && \
eval $$(opam env) && \
opam install --yes dune.2.2.0 ; \
done
done ; \
opam switch $$current
# [make expected] updates the contents of *all* reference files (those
# that contain the expected output of every test). This command should
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment