cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cordova Wiki] Update of "WorkingWithThree" by AndrewGrieve
Date Wed, 10 Jul 2013 13:23:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "WorkingWithThree" page has been changed by AndrewGrieve:
https://wiki.apache.org/cordova/WorkingWithThree?action=diff&rev1=7&rev2=8

  {{{
  ./cordova-coho/coho repo-update -r auto
  }}}
- Then:
+ Otherwise, start by cloning:
  {{{
  ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r ios -r cli
- cd cordova-cli && npm install
+ cd cordova-cli && npm install && cd ..
- cd ..
+ }}}
+ 
+ Create a project:
+ {{{
  ./cordova-cli/bin/cordova create mobilespec org.apache.test mobilespec
  cd mobilespec
  }}}
@@ -39, +42 @@

  
  }}}
  
+ Install things.
  {{{
  ../cordova-cli/bin/cordova platform add ios android
  ../cordova-cli/bin/cordova plugin add ../cordova-mobile-spec/dependencies-plugin
  rm -r www
  ln -s ../cordova-mobile-spec www
+ }}}
+ 
+ Update cordova-js snapshot or else you'll be using the snapshot from your platform's repo.
You'll need to do this before every prepare.
+ {{{
+ ( cd ../cordova-js; grunt )
+ cp ../cordova-js/pkg/cordova.ios.js platforms/ios/www/cordova.js
+ cp ../cordova-js/pkg/cordova.android.js platforms/android/assets/www/cordova.js &&

+ 
  ../cordova-cli/bin/cordova prepare
  }}}
+ 
+ To apply changes from a plugin:
+ {{{
+ ../cordova-cli/bin/cordova plugin rm org.cordova.mobile-spec-dependencies
+ ../cordova-cli/bin/cordova plugin rm PLUGIN_ID
+ ../cordova-cli/bin/cordova plugin add PLUGIN_ID
+ }}}
+ 
+ To apply changes to platform code:
+ {{{
+ ../cordova-cli/bin/cordova platform rm android
+ ../cordova-cli/bin/cordova platform add android
+ }}}
+ 
  
  === Potential Issues ===
  

Mime
View raw message