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

Create dune-workspace.versions on the fly.

parent d13ef93d
Pipeline #119504 passed with stages
in 25 seconds
......@@ -3,3 +3,4 @@
_build
analysis/data.csv
analysis/*.pdf
dune-workspace.versions
......@@ -97,8 +97,24 @@ speed:
# can be created like this:
# opam switch create 4.03.0
VERSIONS := \
4.02.3 \
4.03.0 \
4.04.2 \
4.05.0 \
4.06.1 \
4.07.1 \
4.08.1 \
4.09.0 \
4.09.0+bytecode-only \
4.10.0+rc1 \
.PHONY: versions
versions:
@(echo "(lang dune 2.0)" && \
for v in $(VERSIONS) ; do \
echo "(context (opam (switch $$v)))" ; \
done) > dune-workspace.versions
@ dune build --workspace dune-workspace.versions @all @test
# [make expected] updates the contents of *all* reference files (those
......
(lang dune 2.0)
(context (opam (switch 4.02.3)))
(context (opam (switch 4.03.0)))
(context (opam (switch 4.04.2)))
(context (opam (switch 4.05.0)))
(context (opam (switch 4.06.1)))
(context (opam (switch 4.07.1)))
(context (opam (switch 4.08.1)))
(context (opam (switch 4.09.0)))
(context (opam (switch 4.09.0+bytecode-only)))
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