skip to navigation
skip to content

gp.recipe.node 0.2

ZC Buildout recipe for node.js

Downloads ↓

Detailed Documentation

Supported options

The recipe supports the following options:

url
url used to get the node.js tarball
npms
a list of package to install with npm
scripts
a list of scripts
node-path
a list of extra directory to add to NODE_PATH

Example usage

We'll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = gp.recipe.node
... npms = coffee-script less
... scripts = coffee lessc
... """)

Running the buildout gives us:

>>> print 'start', system(buildout)
start...
Installing test1.
...
Generated script '.../bin/lessc'.

Contributors

Gael Pasgrimaud, Author

Change history

0.1

  • Created recipe with ZopeSkel [Gael Pasgrimaud]
 
File Type Py Version Uploaded on Size # downloads
gp.recipe.node-0.2.tar.gz (md5) Source 2011-11-19 4KB 537