Created
September 25, 2014 17:31
-
-
Save neves/6be8c2b6c9384db6a282 to your computer and use it in GitHub Desktop.
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
# cria um emulador ios para cordova | |
cordova create emulator | |
cd emulator | |
git init | |
git add . | |
git commit -m 'cordova create emulator' | |
for name in battery-status camera console contacts device device-motion device-orientation dialogs file file-system-roots file-transfer geolocation globalization inappbrowser media media-capture network-information plugin.softkeyboard speech.speechsynthesis splashscreen statusbar vibration | |
do | |
cordova plugin add org.apache.cordova.$name | |
git add . | |
git commit -m "add plugin $name" | |
done | |
cordova platform add ios | |
cordova build | |
git add . | |
git commit -m 'cordova platform add ios' | |
echo 'platforms/ios/cordova/console.log' > .gitignore | |
git add . | |
git commit -m '.gitignore' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment