forked from YCAMInterlab/RAMDanceToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmodules.sh
More file actions
executable file
·66 lines (49 loc) · 1.15 KB
/
submodules.sh
File metadata and controls
executable file
·66 lines (49 loc) · 1.15 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
# usage: $ ./submodules.sh
if [ -r .git ]; then
# submodule init & update
echo "[start submodule init]"
git submodule init
echo "end submodule init."
echo "[start submodule update]"
git submodule update
echo "end submodule update."
else
# clone from repo
cd ./addons
echo "[couldn't found ./.gitmodule. start clone five addons from github repos instead of git submodule update]"
# ofxBt
git clone git@github.com:satoruhiga/ofxBt.git
cd ofxBt
git checkout develop
git checkout 724c568
cd ../
# ofxUI
git clone git@github.com:rezaali/ofxUI.git
cd ofxUI
git checkout 748d421
cd ../
# ofxInteractivePrimitives
git clone git@github.com:satoruhiga/ofxInteractivePrimitives.git
cd ofxInteractivePrimitives
git checkout 987205e
cd ../
# ofxCv
git clone git@github.com:kylemcdonald/ofxCv.git
cd ofxCv
git checkout 115deaf
cd ../
# ofxNodeArray
git clone git@github.com:YCAMInterlab/ofxNodeArray.git
cd ofxNodeArray
git checkout b21dcd5
cd ../
echo "end clone addons"
cd ../
fi
# apply ofxUI patch
echo "[start running patch for modify ofxUI]"
cd addons/ofxUI
patch -p0 < ../ofxUI.patch
cd ../../
echo "end apply patch."