quox/tests/Makefile
rhiannon morris e3384d4e6e support TAP 13 for /usr/bin/prove's benefit
13 doesn't support test trees so we gotta flatten it >:(
2022-05-02 00:21:35 +02:00

26 lines
361 B
Makefile

all: test
.PHONY: lib
lib:
make -C .. lib
depends/quox: lib
mkdir -p depends
ln -sf ../../build/ttc depends/quox
.PHONY: build-tests
build-tests: depends/quox
idris2 --build tests.ipkg
.PHONY: test
test: build-tests
build/exec/quox-tests -V 14
.PHONY: prove
prove: build-tests
prove build/exec/quox-tests
.PHONY: clean
clean:
rm -rf build depends