You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
336 B
Makefile
24 lines
336 B
Makefile
PYTHON=python3
|
|
PYCODESTYLE=pycodestyle
|
|
|
|
.DEFAULT_GOAL = help
|
|
|
|
help:
|
|
@echo "The following targets are supported:"
|
|
@echo " setup install required packages"
|
|
@echo " test run the tests"
|
|
|
|
|
|
setup:
|
|
pip install -r requirements.txt
|
|
|
|
|
|
test:
|
|
${PYCODESTYLE} *.py
|
|
${PYTHON} -m pytest
|
|
|
|
clean:
|
|
@echo "cleaning"
|
|
|
|
.PHONY: setup test clean help
|