add makefile (#1108)

This commit is contained in:
Michel Oosterhof 2019-05-04 20:34:16 +04:00 committed by GitHub
parent 63d697e0bf
commit d5ca8321e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
# Dummy target `all`
all:
# Note --aplication-import-names only works on Python3
test:
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
PYTHONPATH=src trial cowrie
build:
python setup.py build sdist bdist
docs:
make -C docs html