Skip to content

Commit

Permalink
Build: Added skeleton Makefile (fixes #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvaughan committed Nov 4, 2017
1 parent 63562f8 commit 41cf174
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
dependencies:
pip install -U -r requirements.txt

dev-dependencies: dependencies
pip install -U coverage

lint: dev-dependencies lint-docstring
echo "Code Linting Not Implemented"

lint-docstring: dev-dependencies
echo "DocString Linting Not Implemented"

test: clean dev-dependencies lint
python -m unittest discover

coverage: clean dev-dependencies lint
coverage run --source action_plugins test
coverage html

clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '*.retry' -exec rm -f {} +

.PHONY : dependencies dev-dependencies lint lint-docstring test coverage clean

0 comments on commit 41cf174

Please sign in to comment.