Skip to content

Instantly share code, notes, and snippets.

@kroger
Created February 18, 2012 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kroger/1857635 to your computer and use it in GitHub Desktop.
Save kroger/1857635 to your computer and use it in GitHub Desktop.
Makefile for python projects
ENV = "full-dev"
.PHONY: tests coverage
tests:
. ${WORKON_HOME}/$(ENV)/bin/activate && autonose --console -x--with-color
coverage:
. ${WORKON_HOME}/$(ENV)/bin/activate && nosetests --with-coverage --cover-html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment