bpmn-js/docs/project/setup.sh
2014-08-19 20:46:28 +02:00

74 lines
1.2 KiB
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
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
npm install > /dev/null
npm link
echo setup moddle
cd $base/moddle
npm install > /dev/null
npm link
echo setup moddle-xml
cd $base/moddle-xml
npm link moddle
npm install > /dev/null
npm link
echo setup bpmn-moddle
cd $base/bpmn-moddle
npm link moddle-xml
npm link moddle
npm install > /dev/null
npm link
echo setup diagram-js-direct-editing
cd $base/diagram-js-direct-editing
npm link diagram-js
npm install > /dev/null
npm link
echo setup ids
cd $base/ids
npm install > /dev/null
npm link
echo setup bpmn-js
cd $base/bpmn-js
npm link bpmn-moddle
npm link diagram-js
npm link diagram-js-direct-editing
npm link ids
npm install > /dev/null
npm link
echo all done.