Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. .PHONY: TEST ENV
  2.  
  3. ENV: Makefile
  4. virtualenv --distribute ./env
  5.  
  6. CHECK_ENV:
  7. ifndef VIRTUAL_ENV
  8. $(error PLEASE ENTER THE VIRTUALENV BEFORE FUN THE COMMAND)
  9. endif
  10.  
  11. UPDATE_ENV: CHECK_ENV requirements.txt
  12. pip install --upgrade setuptools
  13. pip install --upgrade pip
  14. pip install -r requirements.txt
  15.  
  16. TESTS: CHECK_ENV
  17. nosetests --with-coverage
  18.  
  19. FLAKE8: CHECK_ENV
  20. flake8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement