~juju-qa/ci-director/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
deps: .deps_canary
BASE=$(shell dirname $(CURDIR))
test: deps
	HOME=$(BASE) bin/python -m unittest discover -vv cidirector.tests -p '*.py'
lint:
	flake8 cidirector
bin/pip bin/python:
	virtualenv --system-site-packages .
.deps_canary: Makefile requirements.txt bin/pip
	sudo apt-get install python-yaml
	./bin/pip install -r requirements.txt
	touch .deps_canary
clean:
	rm -rf ./bin ./include ./lib ./local .deps_canary

.PHONY: clean deps lint test