Created
August 4, 2015 06:02
-
-
Save luiselizondo/3c70008e1f0e8fffdf33 to your computer and use it in GitHub Desktop.
Build Titanium Studio from Source
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
#!/bin/bash | |
# echo export ANDROID_SDK=/Users/luis/Library/android-sdk-macosx >> ~/.zshconfig | |
# sudo echo /Users/luis/Library/android-sdk-macosx/tools >> /etc/paths | |
# sudo echo /Users/luis/Library/android-sdk-macosx/platform-tools >> /etc/paths | |
# ~/Library/Application Support/Titanium | |
# ~/Documents/Appcelerator_Studio_Workspace | |
echo "Installing python dependencies" | |
sudo easy_install pycrypto pyopenssl pyyaml Pygments markdown | |
echo "Updating Brew" | |
brew update | |
echo "Downloading Android NDK" | |
wget http://dl.google.com/android/ndk/android-ndk-r10e-darwin-x86_64.bin | |
chmod a+x android-ndk-r10c-darwin-x86_64.bin | |
./android-ndk-r10c-darwin-x86_64.bin | |
echo "Downloading scons" | |
wget http://prdownloads.sourceforge.net/scons/scons-2.3.6.tar.gz | |
tar zxvf scons-2.3.6.tar.gz | |
cd scons-2.3.6 | |
sudo python setup.py install | |
cd .. | |
echo "Installing Apache Ant" | |
brew install ant | |
echo "Downloading Elipse" | |
wget http://mirror.cc.columbia.edu/pub/software/eclipse/technology/epp/downloads/release/mars/R/eclipse-jee-mars-R-macosx-cocoa-x86_64.tar.gz | |
tar zxvf eclipse-jee-mars-R-macosx-cocoa-x86_64.tar.gz | |
echo "Downloading Oracle JDK 8 // not possible" | |
wget http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-macosx-x64.dmg?AuthParam=1438647757_eb3d368e50080229af2510130c6e908b | |
echo "Extracting android ndk" | |
./android-ndk-r10c-darwin-x86_64.bin | |
echo "Cloning the project" | |
git clone https://github.com/appcelerator/titanium_mobile.git | |
cd titanium_mobile | |
echo "Download Oracle JDK 8, setup all the paths and then run scons" | |
echo "Visit: http://docs.appcelerator.com/platform/latest/#!/guide/Building_the_Titanium_SDK_From_Source-section-35620794_BuildingtheTitaniumSDKFromSource-SettingUpYourEnvironment" | |
#scons | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment