From 6a7f6a302eee7f3c7fdcbd057cc9837f810bff55 Mon Sep 17 00:00:00 2001 From: Alain Takoudjou <talino@tiolive.com> Date: Fri, 17 Aug 2012 10:54:44 +0200 Subject: [PATCH] Add Cloud9 stable version --- component/cloud9/buildout.cfg | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/component/cloud9/buildout.cfg b/component/cloud9/buildout.cfg index e5072189b..dd03c6540 100644 --- a/component/cloud9/buildout.cfg +++ b/component/cloud9/buildout.cfg @@ -21,6 +21,21 @@ node = nodejs environment = PATH=${nodejs:location}/bin:%(PATH)s +[cloud9-stable] +# Online IDE written in javascript/node.js +# URL : c9.io +# You can use it using the following command : +# NODE_PATH=${:destination}/node_modules ${nodejs:node_location} ${:cloud9_js_location} +recipe = plone.recipe.command +stop-on-error = true +commit = 97db1467c517d265438684bd2a70b0b76ee282f6 +repository = https://github.com/ajaxorg/cloud9.git +location = ${buildout:parts-directory}/${:_buildout_section_name_} +git-binary = ${git:location}/bin/git +npm-binary = ${nodejs-0.4:location}/bin/node ${npm:location}/bin/npm +command = export GIT_SSL_NO_VERIFY=true; export HOME=${:location}; (${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} reset --hard ${:commit} && ${:git-binary} submodule update --init && cd support/jsdav && PATH=${nodejs-0.4:location}/bin:$PATH LDFLAGS=-L${libxml2:location}/lib ${:npm-binary} install) || (rm -fr ${:location}; exit 1) +update-command = + [cloud9-git] # Online IDE written in javascript/node.js # URL : c9.io @@ -48,4 +63,4 @@ packages = cloud9==0.7 # Specify environment jsDAV (dependency of cloud9) needs libxml2 environment = - LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib \ No newline at end of file + LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -- 2.30.9