bpmn-js/docs/project/setup.sh

89 lines
1.3 KiB
Bash
Raw Normal View History

2014-08-19 14:32:04 +00:00
#!/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
2014-08-25 15:11:43 +00:00
git clone git@github.com:bpmn-io/bpmn-js-cli.git > /dev/null
2014-08-19 14:32:04 +00:00
git clone git@github.com:bpmn-io/bpmn-moddle.git > /dev/null
git clone git@github.com:bpmn-io/ids.git > /dev/null
echo done.
echo setup diagram-js
cd $base/diagram-js
2014-08-25 15:11:43 +00:00
npm install
npm link
2014-08-19 14:32:04 +00:00
echo setup moddle
cd $base/moddle
npm install > /dev/null
npm link
2014-08-19 14:32:04 +00:00
echo setup moddle-xml
cd $base/moddle-xml
npm link moddle
2014-08-25 15:11:43 +00:00
npm install
npm link
2014-08-19 14:32:04 +00:00
echo setup bpmn-moddle
cd $base/bpmn-moddle
npm link moddle-xml
npm link moddle
2014-08-25 15:11:43 +00:00
npm install
npm link
2014-08-19 14:32:04 +00:00
echo setup diagram-js-direct-editing
cd $base/diagram-js-direct-editing
npm link diagram-js
2014-08-25 15:11:43 +00:00
npm install
npm link
2014-08-19 14:32:04 +00:00
echo setup ids
cd $base/ids
2014-08-25 15:11:43 +00:00
npm install
npm link
2014-08-19 14:32:04 +00:00
echo setup bpmn-js
cd $base/bpmn-js
2014-08-25 15:11:43 +00:00
npm install
npm link diagram-js
npm link diagram-js-direct-editing
npm link ids
2014-08-25 15:11:43 +00:00
npm link bpmn-moddle
npm link
2014-08-19 14:32:04 +00:00
2014-08-25 15:11:43 +00:00
echo setup bpmn-js-cli
cd $base/bpmn-js-cli
npm install
npm link bpmn-js
npm link
# deferred link cli (circular dev dependency)
cd $base/bpmn-js
npm link bpmn-js-cli
cd $base
2014-08-19 14:32:04 +00:00
echo all done.