Skip to content

Instantly share code, notes, and snippets.

@Continuities
Last active September 12, 2017 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Continuities/84f00686b5f013e4305f1ac0aa819454 to your computer and use it in GitHub Desktop.
Save Continuities/84f00686b5f013e4305f1ac0aa819454 to your computer and use it in GitHub Desktop.
Cross-platform tests
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
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