mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-21 10:54:31 +08:00
Reworked scripts again to eliminate the static library target. Archive and build should work fine for derived data or target build dirs without needing a new static library or header search path. Quite a pain in the ass to get working
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
# Ignore whitespace characters in paths
|
||||
IFS=$'\n'
|
||||
|
||||
if [ -d "${CONFIGURATION_BUILD_DIR}/include/RestKit" ]; then
|
||||
cd ${CONFIGURATION_BUILD_DIR}/include/RestKit
|
||||
if [ -d "${TARGET_BUILD_DIR}/include/RestKit" ]; then
|
||||
cd ${TARGET_BUILD_DIR}/include/RestKit
|
||||
|
||||
find * -name '*.h' | xargs chmod a-w
|
||||
else
|
||||
echo "Configuration include path does not exist, likely perform a Build & Archive operation..."
|
||||
echo "Target Build Directory '${TARGET_BUILD_DIR}' do not exist, skipping..."
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user