Skip to content

Commit

Permalink
Improved Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Mar 30, 2017
1 parent d55d7d3 commit 359d925
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
all: check source deb
all: check test source

init:
pip install -r requirements.txt

init-dev:
pip install -r requirements-dev.txt

dist: source deb

source:
python setup.py sdist

deb:
python setup.py --command-packages=stdeb.command bdist_deb

check:
find . -name \*.py | xargs pep8 --first
find bin -type f | xargs pep8 --first
Expand All @@ -23,5 +18,5 @@ test:

clean:
python setup.py clean
rm -rf build deb_dist debian dist MANIFEST *.egg-info deb_dist
find . -name '*.pyc' -print0 | xargs --no-run-if-empty -0 rm
rm -rfv build deb_dist debian dist MANIFEST *.egg-info deb_dist
find . -name '*.pyc' -print0 | xargs --no-run-if-empty -0 rm -v

0 comments on commit 359d925

Please sign in to comment.