A lightweight reactive document library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
665 B

dune build
dune clean
TESTS=minimal misc reranger stress pretty \
cbor/cbor_of_fs cbor/cbor_explorer
RUN_TESTS_BC=$(patsubst %, run-%, $(TESTS))
RUN_TESTS_EXE=$(patsubst %, run-%.exe, $(TESTS))
dune build examples/$@.bc
dune build $(patsubst %,examples/%.bc,$(TESTS))
dune exec examples/$(patsubst run-%,%,$@.bc)
dune exec examples/$(patsubst run-%,%,$@)
rm curdir.cbor || true
dune exec examples/cbor/cbor_of_fs.exe -- -o curdir.cbor ./
dune exec examples/cbor/cbor_explorer.exe -- curdir.cbor
.PHONY: all clean examples $(RUN_TESTS_BC) $(RUN_TESTS_EXE)