mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 09:31:32 +08:00
13 lines
617 B
Bash
13 lines
617 B
Bash
# This script copies the headers from the configuration
|
|
# build directory to their legacy location at Build/RestKit
|
|
# under the project root. This is the include path for Xcode
|
|
# 3 projects and Xcode 4 projects not using derived data
|
|
# TODO: May only want to do this optionally if the BUILT_PRODUCTS_DIR is not a sub-directory of the SOURCE_ROOT
|
|
|
|
IFS=$'\n'
|
|
if [ -d "${CONFIGURATION_BUILD_DIR}/include/RestKit" ]; then
|
|
rsync -av --delete "${CONFIGURATION_BUILD_DIR}/include/RestKit" "${SOURCE_ROOT}/Build"
|
|
else
|
|
echo "Configuration include path does not exist, likely perform a Build & Archive operation..."
|
|
fi
|