Skip to content

Instantly share code, notes, and snippets.

@seviu
Created September 9, 2016 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seviu/392d1e2622f2e6e316db9f97da173753 to your computer and use it in GitHub Desktop.
Save seviu/392d1e2622f2e6e316db9f97da173753 to your computer and use it in GitHub Desktop.
RESOURCE_PATH=${SRCROOT}/${PRODUCT_NAME}/config/PROD
if [ $CONFIGURATION != 'Release' ]; then
RESOURCE_PATH=${SRCROOT}/${PRODUCT_NAME}/config/DEV
fi
BUILD_APP_DIR=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app
echo "Copying all files under ${RESOURCE_PATH} to ${BUILD_APP_DIR}"
cp -v "${RESOURCE_PATH}/"* "${BUILD_APP_DIR}/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment