-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Added skeleton Makefile (fixes #3)
- Loading branch information
1 parent
63562f8
commit 41cf174
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |