Makefile updates (#1118)

* makefile updates
This commit is contained in:
Michel Oosterhof 2019-05-12 17:58:14 +04:00 committed by GitHub
parent 25eba0aab0
commit cde184ce72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# This `Makefile` is intended for Cowrie developers.
# Dummy target `all` # Dummy target `all`
all: all:
# Note --aplication-import-names only works on Python3 # Note --aplication-import-names only works on Python3
test: test: lint
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
PYTHONPATH=src trial cowrie PYTHONPATH=src trial cowrie
build: build:
@ -12,3 +12,15 @@ build:
docs: docs:
make -C docs html make -C docs html
lint:
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
clean:
rm -rf _trial_temp build dist
pip-upgrade:
pip install --upgrade -r requirements.txt
pip-check:
pip check