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.
 
 

18 lines
322 B

PY=python3
CONFIG=config/config.yml
# avoid doing anything when typing "make" since there's nothing to build
dummy:
run: ${CONFIG}
${PY} -m ptaimport $^
test:
${PY} -m unittest discover
.PHONY: dummy run test
# if running config is not already written, copy the example one
${CONFIG}: config/example.yml
cp $< $@