1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/usr/bin/make
build: tox lint test
virtualenv:
virtualenv .venv
tox:
/usr/bin/tox:
sudo apt-get install -y python-tox python-dev python-virtualenv
lint: /usr/bin/tox
tox -e lint
unit_test: /usr/bin/tox
tox
release: check-path virtualenv
@.venv/bin/pip install git-vendor
@.venv/bin/git-vendor sync -d ${DOCKER_MASTER_BZR}
check-path:
ifndef DOCKER_MASTER_BZR
$(error DOCKER_MASTER_BZR is undefined)
endif
clean:
@rm -rf .venv
@rm -rf .tox
@find -name *.pyc -delete
|