You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2013/07/02 19:43:37 UTC

[Cordova Wiki] Update of "WorkingWithThree" by brianleroux

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 brianleroux:
http://wiki.apache.org/cordova/WorkingWithThree

New page:
3.0 flow that uses coho and the dependency plugin to build mobile-spec for
ios & android where all plugins & repos point to dev versions:

{{{
./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r ios -r cli
cd cordova-cli && npm install
./cordova-cli/bin/cordova create mobilespec org.apache.test mobilespec
cd mobilespec
}}}

Edit .cordova/config.json to be:

{{{

{
  "id":"org.apache.mobilespec",
  "name":"mobilespec",
  "lib": {
    "android": {
      "uri": "/Users/agrieve/git/cordova/cordova-android",
      "version": "dev",
      "id": "cordova-android-dev"
    },
    "ios": {
      "uri": "/Users/agrieve/git/cordova/cordova-ios",
      "version": "dev",
      "id": "cordova-ios-dev"
    }
  }
}

}}}

{{{
../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
../cordova-cli/bin/cordova prepare
}}}