Commit c53850d9 authored by Jérome Perrin's avatar Jérome Perrin

DREAM: integrate grunt in slapos version

It is probably better to stop using grunt
parent 3b1461fa
......@@ -3,6 +3,7 @@ parts =
dream_simulation
dream_platform
dream_test_suite
grunt_watch
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
......@@ -28,6 +29,11 @@ command-line = ${buildout:bin-directory}/dream_platform --host $${dream_platform
wrapper-path = $${directory:service}/dream_platform
parameters-extra = true
[grunt_watch]
recipe = slapos.cookbook:wrapper
command-line = bash -c 'cd ${dream-repository.git:location}; PATH=${nodejs:location}/bin/:$PATH ${dream-repository.git:location}/node_modules/grunt-cli/bin/grunt watch -f > $${directory:log}/grunt.log'
wrapper-path = $${directory:service}/dream_grunt_watch
# CLI
[dream_simulation]
recipe = slapos.cookbook:wrapper
......
[buildout]
versions = versions
extends =
extends =
../../stack/slapos.cfg
../../stack/nodejs.cfg
../../component/manpy/buildout.cfg
parts =
slapos-cookbook
manpy
dream_testrunner
npm_install
instance
[instance]
......@@ -21,6 +23,12 @@ script = dream_testrunner
initialization =
${manpy:initialization}
[npm_install]
recipe = plone.recipe.command
stop-on-error = true
command = cd ${dream-repository.git:location} && PATH=${git:location}/bin/:$PATH ${nodejs:location}/bin/npm install .
update_command = ${:command}
[versions]
rpy2 = 2.4.0
pydot = 1.0.28
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment