Permalink
Browse files

add Makefile

  • Loading branch information...
1 parent 90db9f5 commit 6725eecb176d70f138745097bc9e19ea9176b2c7 @vmalloc vmalloc committed Dec 25, 2013
Showing with 25 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +23 −2 Makefile
View
@@ -41,4 +41,5 @@ pip-log.txt
#### Haskell
*.hi
flycheck-*
-.DS_Store
+.DS_Store
+.env
View
@@ -1,2 +1,23 @@
-test:
- nosetests
+default: test
+
+detox-test:
+ detox
+
+travis-test: test
+
+test: env
+ .env/bin/nosetests -w tests
+
+coverage-test: env
+ .env/bin/coverage run .env/bin/nosetests -w tests
+
+env: .env/.up-to-date
+
+.env/.up-to-date: setup.py Makefile
+ virtualenv .env
+ .env/bin/pip install -e .
+ .env/bin/pip install nose coverage PyExecJS pymongo
+ touch .env/.up-to-date
+
+.PHONY: doc
+

0 comments on commit 6725eec

Please sign in to comment.