/core/externals/update-engine/externals/gdata-objectivec-client/Examples/FinanceSample/buildCopyScript
Shell | 14 lines | 4 code | 2 blank | 8 comment | 1 complexity | 7526efb05184becb6d36377f9733bf0b MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
- #!/bin/sh -x
- #
- # This script tries to move the built GData.framework
- # into a place the example application's Copy Frameworks phase
- # will find it, regardless of whether projects are set to share
- # a build location or use the default build location
- # if the framework exists in the GData project's build directory,
- # copy it to this project's build directory
- if [ -d "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" ] ; then
- rm -rf "$BUILT_PRODUCTS_DIR/GData.framework"
- ditto -v "$SRCROOT/../../Source/build/$CONFIGURATION/GData.framework" "$BUILT_PRODUCTS_DIR/GData.framework"
- fi