Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ziima committed Nov 22, 2017
1 parent 44ed430 commit 189a209
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Makefile whitespace=space-before-tab,indent-with-non-tab,tabwidth=4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
*.swp
.tox
# Created in tests
/.coverage
/htmlcov
/sstore
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: test coverage

test:
python admin/runtests

coverage:
python-coverage erase
-rm -r htmlcov
python-coverage run --branch --source="." admin/runtests
python-coverage html --directory=htmlcov

0 comments on commit 189a209

Please sign in to comment.