test: add clean* targets to Makefile

closes leanprover/lake#13
This commit is contained in:
tydeu 2021-09-20 18:14:50 -04:00
parent 9b80f69e54
commit dfa959ba30

View file

@ -4,36 +4,65 @@ all: check-lake test time-bootstrap check-bootstrap test-bootstrapped
test: test-init test-hello test-io test-deps test-git test-ffi test-ffi-dep test-main
clean: clean-init clean-hello clean-io clean-deps clean-git clean-ffi clean-ffi-dep clean-main clean-bootstrap
check-lake:
$(LAKE) self-check
test-init:
cd init && ./test.sh
clean-init:
cd init && ./clean.sh
test-hello:
cd hello && ./test.sh
clean-hello:
cd hello && ./clean.sh
test-io:
cd io && ./test.sh
clean-io:
cd io && ./clean.sh
test-deps:
cd deps && ./test.sh
clean-deps:
cd deps && ./clean.sh
test-git:
cd git && ./test.sh
clean-git:
cd git && ./clean.sh
test-ffi:
cd ffi && ./test.sh
clean-ffi:
cd ffi && ./clean.sh
test-ffi-dep:
cd ffi-dep && ./test.sh
clean-ffi-dep:
cd ffi-dep && ./clean.sh
test-main:
cd main && ./test.sh
clean-main:
cd main && ./clean.sh
test-bootstrap:
cd bootstrap && ./test.sh
clean-bootstrap:
cd bootstrap && ./clean.sh
time-bootstrap:
cd bootstrap && ./time.sh
@ -45,4 +74,4 @@ test-bootstrapped: test-boostrapped-hello
test-boostrapped-hello:
cd hello && ./bootstrapped-test.sh
.PHONY: all check-lake test time-bootstrap check-bootstrap test-bootstrapped
.PHONY: all check-lake test clean test-bootstrap time-bootstrap check-bootstrap test-bootstrapped