Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1 | .PHONY: check update |
| 2 | |
| 3 | check: set_pythonpath |
| 4 | ./all_tests.py |
| 5 | |
| 6 | update: |
| 7 | ./all_tests.py -u |
| 8 | |
| 9 | set_pythonpath: |
| 10 | echo "export PYTHONPATH=\"$(PWD)/../src\"" > set_pythonpath |
| 11 | |
Pau Espin Pedrol | 94e7ef0 | 2020-05-07 13:49:07 +0200 | [diff] [blame] | 12 | clean: |
| 13 | @find . -name "*__pycache__" -type d -print0 | xargs -0 rm -rvf |
| 14 | @find . -name "*test_work" -type d -print0 | xargs -0 rm -rvf |
| 15 | @rm -fv ./set_pythonpath |
| 16 | |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 17 | # vim: noexpandtab tabstop=8 shiftwidth=8 |