Skip to content

Instantly share code, notes, and snippets.

@tvansteenburgh
Created October 2, 2014 14:12
Show Gist options
  • Save tvansteenburgh/927a8f440fd456630106 to your computer and use it in GitHub Desktop.
Save tvansteenburgh/927a8f440fd456630106 to your computer and use it in GitHub Desktop.
Sample Juju Charm Makefile
#!/usr/bin/make
lint: .venv
@flake8 hooks unit_tests
test: .venv
@echo Starting tests...
.venv/bin/nosetests unit_tests
.venv:
sudo apt-get install -y python-virtualenv
virtualenv .venv
.venv/bin/pip install flake8 nose mock
clean:
rm -rf .venv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment