~ubuntuone-hackers/conn-check/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ENV=virtualenv

$(ENV):
	virtualenv $(ENV)

build: $(ENV)
	$(ENV)/bin/pip install -r requirements.txt -r devel-requirements.txt
	$(ENV)/bin/python setup.py develop

test:
	$(ENV)/bin/nosetests

clean:
	-rm -r $(ENV)
	find . -name "*.pyc" -delete

install-debs:
	sudo xargs --arg-file deb-requirements.txt apt-get install -y


.PHONY: test build
.DEFAULT_GOAL := test