22 lines
643 B
Bash
Executable File
22 lines
643 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# download_dependencies.sh
|
|
#
|
|
# Downloads all compiled framework flavors in from Artifactory.
|
|
#
|
|
|
|
# Create new aggregate builds
|
|
|
|
if [ -z $ARTIFACTORY_URL ]; then
|
|
ARTIFACTORY_URL="https://oneartifactoryci.verizon.com/artifactory"
|
|
fi
|
|
|
|
BUILD_DIR=$(xcodebuild -showBuildSettings -project ./VDS.xcodeproj | grep -w -o 'BUILD_DIR = .*' | cut -d\ -f3-)
|
|
FRAMEWORKS_DIR=$BUILD_DIR/../../../Frameworks/VDS
|
|
|
|
if [ ! -d $FRAMEWORKS_DIR ]; then
|
|
mkdir -p $FRAMEWORKS_DIR
|
|
fi
|
|
|
|
./Scripts/download_framework.sh $ARTIFACTORY_URL "$FRAMEWORKS_DIR/VDSTokens.xcframework" GVJV_VDS_Maven/@vds-tokens/ios/VDSTokens.1.0.1-alpha.0.xcframework.zip
|