forked from ggozad/behaving
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
47 lines (36 loc) · 935 Bytes
/
buildout.cfg
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
41
42
43
44
45
46
47
[buildout]
extensions =
mr.developer
eggs = behaving
parts = behave
test
supervisor
supervisor-conf
show-picked-versions = true
develop = .
[behave]
recipe = zc.recipe.egg
eggs = behaving
behave
interpreter = tpy
[test]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
mkdir -p ${buildout:directory}/var/sms
mkdir -p ${buildout:directory}/var/mail
mkdir -p ${buildout:directory}/var/log
cat <<EOF > ${buildout:directory}/bin/test
#!/bin/sh
${buildout:bin-directory}/supervisord
${buildout:directory}/bin/behave "\$@" ${buildout:directory}/src/behaving/tests/features
EOF
chmod a+x ${buildout:directory}/bin/test
[supervisor]
recipe = zc.recipe.egg
eggs = supervisor
[supervisor-conf]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/supervisord.conf.in
output = ${buildout:directory}/etc/supervisord.conf