Skip to content

Commit

Permalink
osx sdk 1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
halfnelson committed Jun 27, 2016
1 parent ae48744 commit 93349b2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
Empty file modified scripts/build-all-osx.sh 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion util/package-community-sdk/config.lua
Expand Up @@ -40,7 +40,7 @@ CLEAN_DIRS = {
}

CLEAN_DIRS_OSX = {

['xcode/build'] = true
}

CLEAN_DIRS_WINDOWS = {
Expand Down
25 changes: 23 additions & 2 deletions util/package-community-sdk/prepare-sdk-osx.sh 100644 → 100755
Expand Up @@ -2,15 +2,36 @@
set -e

echo "PREPARE SDK - OSX"
SCRIPT_DIR=$(cd `dirname $0` && pwd)
pushd $(dirname "${0}")/../../ > /dev/null

MOAI_SDK_ROOT=$(pwd)
echo $MOAI_SDK_ROOT

cd $MOAI_SDK_ROOT
source ./bin/env-osx.sh
source ./scripts/env-osx.sh

./bin/build-all-osx.sh
./scripts/build-all-osx.sh



pushd $SCRIPT_DIR/moai-debugger > /dev/null

echo y| pito host create android
pito host build android

APK_DIR=../../../lib/android/apk

if ! [ -d $APK_DIR ]; then
mkdir -p $APK_DIR
fi

if [ -e $APK_DIR/moai-debug.apk ]; then
rm $APK_DIR/moai-debug.apk
fi
cp ./hosts/android/moai/build/outputs/apk/moai-debug.apk $APK_DIR/moai-debug.apk
rm -rf hosts/android

popd

popd > /dev/null

0 comments on commit 93349b2

Please sign in to comment.