forked from gotcha/buildout.deco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (27 loc) · 730 Bytes
/
Makefile
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
33
34
35
36
37
38
39
40
#!/usr/bin/make
#
.PHONY: test clean cleanall
pybot_options =
all: test
bin/python:
virtualenv -p python2.6 --distribute --no-site-packages .
develop-eggs: bin/python bootstrap.py
./bin/python bootstrap.py
bin/buildout: develop-eggs
bin/test: buildout.cfg bin/buildout
./bin/buildout -Nvt 5
touch $@
bin/pybot: pybot.cfg buildout.cfg bin/buildout
./bin/buildout -Nvt 5 -c pybot.cfg
touch $@
supervisord.pid:
bin/supervisord --pidfile=$@
test: bin/test
bin/test
pybot: bin/pybot supervisord.pid
bin/supervisorctl start all
bin/pybot $(pybot_options)
clean:
test -e supervisord.pid && cat supervisord.pid | xargs kill -s TERM
cleanall: clean
rm -fr bin develop-eggs downloads eggs parts .installed.cfg