Automatically delete svn directories in Mac build.
This commit is contained in:
+3
-2
@@ -14,12 +14,13 @@ QT_PLUGIN_PATH="/Developer/Applications/Qt/plugins"
|
|||||||
SDL_FW_PATH="/Library/Frameworks"
|
SDL_FW_PATH="/Library/Frameworks"
|
||||||
APPLICATION="./pokerth.app"
|
APPLICATION="./pokerth.app"
|
||||||
BINARY="$APPLICATION/Contents/MacOs/pokerth"
|
BINARY="$APPLICATION/Contents/MacOs/pokerth"
|
||||||
RESOURCES="$APPLICATION/Contents/Resources/"
|
RESOURCES="$APPLICATION/Contents/Resources"
|
||||||
|
|
||||||
# strip binary
|
# strip binary
|
||||||
strip $BINARY
|
strip $BINARY
|
||||||
|
|
||||||
cp -R ./data $RESOURCES
|
cp -R ./data $RESOURCES/
|
||||||
|
find $RESOURCES/data -name ".svn" | xargs rm -Rf
|
||||||
# create framework-path
|
# create framework-path
|
||||||
BINARY_FW_PATH="$APPLICATION/Contents/Frameworks"
|
BINARY_FW_PATH="$APPLICATION/Contents/Frameworks"
|
||||||
mkdir $BINARY_FW_PATH
|
mkdir $BINARY_FW_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user