File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ node_modules
9
9
.installed
10
10
.gradle /
11
11
.idea /
12
+ tmp /
12
13
cordova-ionic-phonegap-branch-deep-linking.iml
13
14
local.properties
14
15
out /
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ logger() {
74
74
main () {
75
75
logger " info" " BRANCH: clean \n"
76
76
rm -rf ../.installed
77
+ rm -rf ../tmp
77
78
rm -rf ./node_modules
78
79
rm -rf ./plugins
79
80
rm -rf ./platforms
@@ -88,7 +89,7 @@ main() {
88
89
fi
89
90
90
91
if [[ " $run_dep " == " true" ]]; then
91
- logger " info" " BRANCH: install node dependencies \n"
92
+ logger " info" " BRANCH: uninstall node dependencies \n"
92
93
npm uninstall mkpath node-version-compare plist xml2js
93
94
fi
94
95
@@ -109,9 +110,9 @@ main() {
109
110
fi
110
111
111
112
logger " info" " BRANCH: add branch sdk plugin \n"
112
- cordova plugin add branch-cordova-sdk
113
- rm -rf ./plugins/branch-cordova-sdk/src
114
- cp -R ../src ./plugins/branch-cordova-sdk/src
113
+ rsync -a ../ ../tmp --exclude testbed --exclude node_modules --exclude .git --exclude tests
114
+ cordova plugin add ../tmp
115
+ rm -rf ../tmp
115
116
116
117
if [[ " $run_ios " == " true" ]]; then
117
118
logger " info" " BRANCH: run ios \n"
You can’t perform that action at this time.
0 commit comments