参考:http://quick.cocoachina.com/?p=22
刚建立的quick工程,每次改动lua代码,都得清理一下,很麻烦。参照着quick官网上改了改,要适配自己的项目
_TARGET_BUILD_CONTENTS_PATH=$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH
echo _TARGET_BUILD_CONTENTS_PATH: $_TARGET_BUILD_CONTENTS_PATH
echo PWD: $PWD
echo Cleaning $_TARGET_BUILD_CONTENTS_PATH/
rm -fr $_TARGET_BUILD_CONTENTS_PATH/res/*
rm -fr $_TARGET_BUILD_CONTENTS_PATH/scripts/*
mkdir -p $_TARGET_BUILD_CONTENTS_PATH/res/
mkdir -p $_TARGET_BUILD_CONTENTS_PATH/scripts/
cp -RLp $PWD/../res/* $_TARGET_BUILD_CONTENTS_PATH/res/
cp -RLp $PWD/../scripts/* $_TARGET_BUILD_CONTENTS_PATH/scripts/