This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ANDROID_HOME=~/android/android-sdk | |
export ANDROID_NDK=~/android/android-ndk-r10e | |
export ANDROID_NM=arm-linux-androideabi-nm | |
export PATH=$ANDROID_HOME/platform-tools/:$ANDROID_HOME/tools:$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin:$PATH | |
DEFOLDDIR=~/work/defold | |
cd $DEFOLDDIR | |
alias defoldshell="$DEFOLDDIR/scripts/build.py shell" | |
alias eclipse="/Applications/eclipse/eclipse -vm /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java &" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#set -e | |
PACKAGE=$1 | |
if [ -z "$PACKAGE" ]; then | |
echo "You must pass a .apk as input!" | |
exit 1 | |
fi |