Skip to content

Instantly share code, notes, and snippets.

@kroger
Created February 18, 2012 05:35
Show Gist options
  • Select an option

  • Save kroger/1857635 to your computer and use it in GitHub Desktop.

Select an option

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