~ubuntuone-hackers/conn-check/trunk

3 by Wes Mason
Add more tests, add venv, requirements, makefile, refactor tests with testtools
1
ENV=virtualenv
2
3
$(ENV):
4
	virtualenv $(ENV)
5
6
build: $(ENV)
8.3.1 by Wes Mason
Make installing/building with a clean environment easier, by splitting out
7
	$(ENV)/bin/pip install -r requirements.txt -r devel-requirements.txt
8.1.2 by James Westby
Fix the AMQP check.
8
	$(ENV)/bin/python setup.py develop
3 by Wes Mason
Add more tests, add venv, requirements, makefile, refactor tests with testtools
9
10
test:
11
	$(ENV)/bin/nosetests
12
8.3.1 by Wes Mason
Make installing/building with a clean environment easier, by splitting out
13
clean:
8.3.7 by Wes Mason
Display commands in tarmac script and don't error in make clean if virtualenv doesn't exist
14
	-rm -r $(ENV)
8.3.1 by Wes Mason
Make installing/building with a clean environment easier, by splitting out
15
	find . -name "*.pyc" -delete
16
17
install-debs:
18
	sudo xargs --arg-file deb-requirements.txt apt-get install -y
19
3 by Wes Mason
Add more tests, add venv, requirements, makefile, refactor tests with testtools
20
21
.PHONY: test build
22
.DEFAULT_GOAL := test