Skip to content

Commit

Permalink
Merge pull request #112 from Ichimonji10/makefile
Browse files Browse the repository at this point in the history
Add "help" target to makefile
  • Loading branch information
sthirugn committed Jul 12, 2016
2 parents e20ff47 + 84f6382 commit fdae149
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
help:
@echo "Please use \`make <target>', where <target> is one of"
@echo " help to show this message"
@echo " lint to check the codebase for errors"
@echo " package to generate installable Python packages"
@echo " package-clean to remove generated Python packages"
@echo " publish to upload dist/* to PyPi"
@echo " test to run unit tests"

lint:
flake8 testimony

Expand All @@ -9,7 +18,8 @@ package-clean:

publish: package
twine upload dist/*

test:
@./tests/test_testimony.sh | diff tests/sample_output.txt -

.PHONY: package package-clean publish test
.PHONY: help lint package package-clean publish test

0 comments on commit fdae149

Please sign in to comment.