-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (16 loc) · 674 Bytes
/
Makefile
File metadata and controls
20 lines (16 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: test xtest push help
help:
@echo "Usage: make [test|xtest|push]"
@echo ""
@echo "Options:"
@echo " test: run the basic test suite"
@echo " xtest: run all tests"
@echo " push: run the basic test suite and git push"
# Common tests - also run by CI
test:
if [ "${TEST_JOBS}" != "" ]; then prove --ext=rakutest -j ${TEST_JOBS} -e raku t; else prove --ext=rakutest -e raku t; fi
# Extended tests - should be run by authors before committing
xtest:
if [ "${TEST_JOBS}" != "" ]; then prove --ext=rakutest -j ${TEST_JOBS} -e raku t xt; else prove --ext=rakutest -e raku t xt; fi
push: test
git pull --rebase && git push