Skip to content

Commit

Permalink
Made release process more robust (handle extra or missing python modu…
Browse files Browse the repository at this point in the history
…les better).
  • Loading branch information
CleanCut committed Mar 30, 2015
1 parent 3c3dfe4 commit 94edb96
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ test: test-versions test-installed test-coverage
@echo "\n(test) completed\n"

test-local:
@sudo make test-installed
@sudo -H pip install -r requirements-optional.txt
-@sudo -H pip uninstall green
@sudo -H make test-installed
make test-versions
make test-coverage
@# test-coverage needs to be last in deps, don't clean after it runs!
Expand Down
2 changes: 1 addition & 1 deletion cli-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Other Options:
environment variable GREEN_CONFIG or the default
~/.green
-p PATTERN, --pattern PATTERN
Pattern to match test files. Default is test*.py.
Pattern to match test files. Default is test*.py

Coverage Options (Coverage 3.7.1):
-r, --run-coverage Produce coverage output.
Expand Down
2 changes: 2 additions & 0 deletions requirements-optional.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
django
coverage

0 comments on commit 94edb96

Please sign in to comment.