Created
October 2, 2014 14:12
-
-
Save tvansteenburgh/927a8f440fd456630106 to your computer and use it in GitHub Desktop.
Sample Juju Charm Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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