issue #1425: add copy commands to copy Resources to android/assets

This commit is contained in:
mustime 2012-08-27 10:12:33 +08:00
parent 6cc4eb8878
commit 7f55980259
1 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,18 @@ fi
mkdir "$APP_ANDROID_ROOT"/assets
# copy resources
for file in "$APP_ROOT"../TestCpp/Resources/*
do
if [ -d "$file" ]; then
cp -rf "$file" "$APP_ANDROID_ROOT"/assets
fi
if [ -f "$file" ]; then
cp "$file" "$APP_ANDROID_ROOT"/assets
fi
done
# copy luaScript
for file in "$APP_ROOT"/Resources/*
do
if [ -d "$file" ]; then