You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
258 B

alltest: test lint
test:
@set -e; \
for FILE in $(shell grep -IHm 1 doctest -r panban | cut -d: -f1); do \
echo "Testing $$FILE..."; \
PYTHONPATH=".:"$$PYTHONPATH python3 $$FILE --doctest; \
done
lint:
@pylint3 -E panban
.PHONY: test lint alltest