From a1aafa7227602b26c96ef85f7141b18441104695 Mon Sep 17 00:00:00 2001 From: Daniel Meyer Date: Thu, 31 Jul 2014 14:27:51 +0200 Subject: [PATCH] fix(docs/setup-script): add direct editing repository Update setup script to include direct-editing repository --- docs/project/SETUP.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/project/SETUP.md b/docs/project/SETUP.md index c6b12f93..e8911b7b 100644 --- a/docs/project/SETUP.md +++ b/docs/project/SETUP.md @@ -76,11 +76,14 @@ Execute `grunt` on any of the projects. Things should be nice. The whole setup can be automated through the following script. ```bash +#!/bin/bash + base=`pwd` echo cloning repositories git clone git@github.com:bpmn-io/diagram-js.git > /dev/null +git clone git@github.com:bpmn-io/diagram-js-direct-editing.git > /dev/null git clone git@github.com:bpmn-io/moddle.git > /dev/null git clone git@github.com:bpmn-io/moddle-xml.git > /dev/null git clone git@github.com:bpmn-io/bpmn-js.git > /dev/null @@ -116,6 +119,13 @@ ln -s $base/moddle node_modules/moddle ln -s $base/moddle-xml node_modules/moddle-xml npm install > /dev/null +echo setup diagram-js-direct-editing + +cd $base/diagram-js-direct-editing +mkdir node_modules +ln -s $base/diagram-js node_modules/diagram-js +npm install > /dev/null + echo setup bpmn-js cd $base/bpmn-js @@ -123,7 +133,8 @@ mkdir node_modules ln -s $base/moddle node_modules/moddle ln -s $base/bpmn-moddle node_modules/bpmn-moddle ln -s $base/diagram-js node_modules/diagram-js +ln -s $base/diagram-js-direct-editing node_modules/diagram-js-direct-editing npm install > /dev/null echo all done. -``` \ No newline at end of file +```