-
Notifications
You must be signed in to change notification settings - Fork 0
/
js.cfg
46 lines (41 loc) · 1.13 KB
/
js.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
[buildout]
parts =
node
node_modules
grunt_script
yo_script
bower_script
[node]
recipe = gp.recipe.node
url = http://nodejs.org/dist/v0.8.15/node-v0.8.15.tar.gz
npms = [email protected] less-monitor
scripts = lessc less-monitor
[node_modules]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" cd js; ../bin/npm install .; echo "\nNodeJS server side modules updated.\n"
[grunt_script]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/node_modules
${buildout:directory}/js/node_modules/.bin/grunt $@
output = ${buildout:bin-directory}/grunt
mode = 755
[bower_script]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/node_modules
${buildout:directory}/js/node_modules/.bin/bower $@
output = ${buildout:bin-directory}/bower
mode = 755
[yo_script]
recipe = collective.recipe.template
input = inline:
#! /bin/sh
export NODE_PATH=${buildout:directory}/node_modules
${buildout:directory}/js/node_modules/.bin/yo $@
output = ${buildout:bin-directory}/yo
mode = 755