Last active
January 25, 2016 16:16
-
-
Save saltwat5r/3de13e76ff57ae496f3a to your computer and use it in GitHub Desktop.
Xcode projects Run Script for copying files from Build Products dir to Projects parent dir.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ ! -d "${PWD%/*}/Build" ]; then | |
| mkdir "${PWD%/*}/Build" | |
| else | |
| rm -rf "${PWD%/*}/Build/Products/$CONFIGURATION$EFFECTIVE_PLATFORM_NAME" | |
| fi | |
| cp -avR "$BUILD_DIR/" "${PWD%/*}/Build/Products" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment