This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
68 lines (59 loc) · 1.93 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[buildout]
develop = .
extends = versions.cfg
versions = versions
show-picked-versions = true
parts = crate
scripts
test
node_modules bower_modules grunt_script grunt_test bower_script
[scripts]
recipe = zc.recipe.egg:script
interpreter = py
eggs = streammania
crate
[crate]
recipe = hexagonit.recipe.download
url = https://cdn.crate.io/downloads/releases/crate-${versions:crate-server}.tar.gz
strip-top-level-dir = true
[test]
relative-paths = true
recipe = zc.recipe.testrunner
defaults = ['--auto-color']
eggs = streammania [test]
[node_modules]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm install webapp --prefix webapp; echo "\nNodeJS server side modules updated.\n"
[bower_modules]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH=${buildout:directory}/webapp/node_modules cd ${buildout:directory}/webapp; ${buildout:directory}/webapp/node_modules/.bin/bower install; cd -; echo "\nBower client-side modules updated.\n"
[grunt_script]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/webapp/node_modules
${buildout:directory}/webapp/node_modules/.bin/grunt --gruntfile ${buildout:directory}/webapp/Gruntfile.js $@
output = ${buildout:bin-directory}/grunt
mode = 755
[grunt_test]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/webapp/node_modules
${buildout:directory}/webapp/node_modules/.bin/grunt --gruntfile ${buildout:directory}/webapp/Gruntfile.js test $@
output = ${buildout:bin-directory}/karma-test
mode = 755
[bower_script]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/webapp/node_modules
cd ${buildout:directory}/webapp
${buildout:directory}/webapp/node_modules/.bin/bower $@
cd -
output = ${buildout:bin-directory}/bower
mode = 755