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 $< $@
|