-
Notifications
You must be signed in to change notification settings - Fork 12
/
buddybuild_postclone.sh
32 lines (28 loc) · 1.84 KB
/
buddybuild_postclone.sh
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
# Copy CoreSummit environment source files
cp -rf ${BUDDYBUILD_SECURE_FILES}/Production.swift ./OpenStack\ Summit/CoreSummit/
cp -rf ${BUDDYBUILD_SECURE_FILES}/Staging.swift ./OpenStack\ Summit/CoreSummit/
# Copy iOS environment source files
cp -rf ${BUDDYBUILD_SECURE_FILES}/AppSecrets.swift ./OpenStack\ Summit/OpenStack\ Summit/
cp -rf ${BUDDYBUILD_SECURE_FILES}/Debug.entitlements ./OpenStack\ Summit/
cp -rf ${BUDDYBUILD_SECURE_FILES}/Beta.entitlements ./OpenStack\ Summit/
cp -rf ${BUDDYBUILD_SECURE_FILES}/Release.entitlements ./OpenStack\ Summit/
cp -rf ${BUDDYBUILD_SECURE_FILES}/OpenStackSummitTV.entitlements ./OpenStack\ Summit/OpenStackSummitTV/
cp -rf ${BUDDYBUILD_SECURE_FILES}/OpenStackSummitTVService.entitlements ./OpenStack\ Summit/OpenStackSummitTVService/
mkdir ./OpenStack\ Summit/GoogleServices
mkdir ./OpenStack\ Summit/GoogleServices/Beta
mkdir ./OpenStack\ Summit/GoogleServices/Release
cp -rf ${BUDDYBUILD_SECURE_FILES}/Beta-GoogleService-Info.plist ./OpenStack\ Summit/GoogleServices/Beta/GoogleService-Info.plist
cp -rf ${BUDDYBUILD_SECURE_FILES}/Release-GoogleService-Info.plist ./OpenStack\ Summit/GoogleServices/Release/GoogleService-Info.plist
# Install Vendor frameworks
unzip -o ${BUDDYBUILD_SECURE_FILES}/VendorFabric.zip
unzip -o ${BUDDYBUILD_SECURE_FILES}/VendorFirebase.zip
# Download and install Google Maps
wget https://dl.google.com/dl/cpdc/f4086b0aa122de6c/GoogleMaps-2.7.0.tar.gz
tar -zxvf GoogleMaps-2.7.0.tar.gz Base/Frameworks/GoogleMapsBase.framework Maps/Frameworks/GoogleMaps.framework Maps/Frameworks/GoogleMapsCore.framework
cp -rf ./Base/Frameworks/* ./Vendor
cp -rf ./Maps/Frameworks/* ./Vendor
# Install BuddyBuild SDK
wget https://s3-us-west-2.amazonaws.com/buddybuild-sdk-builds/master/BuddyBuildSDK.framework.zip
unzip BuddyBuildSDK.framework.zip
rm -f BuddyBuildSDK.framework.zip
cp -rf ./BuddyBuildSDK.framework ./Vendor