-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathcloud_project.sh
More file actions
executable file
·37 lines (28 loc) · 927 Bytes
/
cloud_project.sh
File metadata and controls
executable file
·37 lines (28 loc) · 927 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
#!/usr/bin/env sh
PROJECT_PATH=$PWD
if [ "$WORKSPACE" = "" ]; then
WORKSPACE=$PWD
fi
if [ "$BUILD_NUMBER" = "" ]; then
BUILD_NUMBER=888
fi
# Download beauty resource
echo "start download bytedance resource : $bytedance_lib"
curl -L -O "$bytedance_lib"
unzip -o vender_bytedance_iOS.zip
rm -f vender_bytedance_iOS.zip
echo "start download sense resource : $sense_lib"
curl -L -O "$sense_lib"
unzip -o vender_sense_iOS.zip
rm -f vender_sense_iOS.zip
echo "start download fu resource : $fu_lib"
curl -L -O "$fu_lib"
unzip -o vender_fu_iOS.zip
rm -f vender_fu_iOS.zip
# Enable third-party player configuration
perl -i -pe "s#\# pod 'ijkplayer'# pod 'ijkplayer'#g" Podfile
# Enable third-party beauty filters
perl -i -pe "s#\#pod 'SenseLib'#pod 'SenseLib'#g" Podfile
perl -i -pe "s#\#pod 'bytedEffect'#pod 'bytedEffect'#g" Podfile
perl -i -pe "s#\#pod 'fuLib'#pod 'fuLib'#g" Podfile
pod install --repo-update || exit 1