forked from bpmn-io/bpmn-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
45 lines (25 loc) · 717 Bytes
/
Copy pathsetup.bat
File metadata and controls
45 lines (25 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
rem ###
rem # Setup script to be executed in a bpmn.io project root (some empty folder chosen by YOU)
rem ##
set BASE=%CD%
echo cloning repositories
git clone git@github.com:bpmn-io/diagram-js.git
git clone git@github.com:bpmn-io/bpmn-js.git
git clone git@github.com:bpmn-io/bpmn-moddle.git
echo done.
echo setup diagram-js
cd %BASE%\diagram-js
npm install
echo setup bpmn-moddle
cd %BASE%\bpmn-moddle
npm install
echo prepare setup bpmn-js
mkdir %BASE%\bpmn-js\node_modules
rem link bpmn-js
mklink /D %BASE%\bpmn-js\node_modules\bpmn-moddle %BASE%\bpmn-moddle
mklink /D %BASE%\bpmn-js\node_modules\diagram-js %BASE%\diagram-js
echo setup bpmn-js
cd %BASE%\bpmn-js
npm install
cd %BASE%