Last active
September 12, 2017 17:11
-
-
Save Continuities/84f00686b5f013e4305f1ac0aa819454 to your computer and use it in GitHub Desktop.
Cross-platform tests
This file contains 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
git clone https://github.com/cocos2d/cocos2d-x.git | |
cd cocos2d-x | |
python download-deps.py | |
git submodule update --init | |
./setup | |
source ~/.bash_profile | |
cd .. | |
cocos new TestProject -l js | |
cd TestProject | |
cocos run -p web | |
cocos run -p android --android-studio --app-abi x86 |
This file contains 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
brew install haxe | |
haxelib setup | |
haxelib install openfl | |
haxelib run openfl setup | |
openfl create NyanCat | |
cd NyanCat/ | |
openfl test html5 | |
lime setup android | |
lime rebuild hxcpp android | |
sdkmanager "system-images;android-19;google_apis;x86" "platforms;android-19" | |
openfl test android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment