mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 06:13:26 +03:00
23 lines
693 B
Makefile
23 lines
693 B
Makefile
INTERACTIVE ?= --interactive
|
|
threads ?= $(shell (nproc || sysctl -n hw.ncpu) 2>/dev/null || echo 1)
|
|
|
|
.PHONY: testbin test
|
|
|
|
test:
|
|
./build/exec/runtests $(IDRIS2) $(INTERACTIVE) --timing --failure-file failures --threads $(threads) --only $(only)
|
|
|
|
retest:
|
|
./build/exec/runtests $(IDRIS2) $(INTERACTIVE) --timing --failure-file failures --threads $(threads) --only-file failures --only $(only)
|
|
|
|
testbin:
|
|
${IDRIS2} --build tests.ipkg
|
|
|
|
clean:
|
|
$(RM) failures
|
|
$(RM) -r build
|
|
$(RM) -r **/**/build
|
|
@find . -type f -name 'output' -exec rm -rf {} \;
|
|
@find . -type f -name '*.ttc' -exec rm -f {} \;
|
|
@find . -type f -name '*.ttm' -exec rm -f {} \;
|
|
@find . -type f -name '*.ibc' -exec rm -f {} \;
|