blob: fd2b5f1f8a2c25802bdd463bc375bfcfc44688c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# The all target builds the project and runs it on a test file (whose path
# is currently hardcoded in main.ml). In order to check that we don't alter
# the behaviour of the interpreter while updating it, we check that the trace
# remains unchanged.
all:
dune build src/main.exe && \
dune exec src/main.exe > tests/trace_current.txt && \
cmp tests/trace_reference.txt tests/trace_current.txt && \
rm tests/trace_current.txt
doc:
dune build @doc
|