+1 to this and anything required to run the application. Without plugins cordova projects could simply run in Safari, so if copying icons, splash screens, creating platforms, and installing plugins are required to actually compile and run the application then they should all happen automatically.
If cordova knows that your application will fail without all of the above, then it should throw an error and stop the build. I¹d like to see this happen, but would be interested in hearing feedback if this could possibly cause problems. Jay Proulx | computer scientist | aem engineering | office: 613.940.4052 | mobile: 613 866 0732 | adobe systems On 2015-01-09, 1:47 PM, "Michal Mocny" <mmo...@google.com> wrote: >I'd like to have cordova-cli automatically install missing platforms when >it is obvious that the platform is required. i.e.: > >> cordova create Foo && cd Foo >> cordova run ios > >..should just `cordova platform add ios` automatically. > >It appears that this was already added to phonegap-cli. Would Adobe mind >donating this to cordova-cli, or is it different enough for me to just >start from scratch? Should be easy, but don't want to duplicate effort. > >Filed: https://issues.apache.org/jira/browse/CB-8283 > >-Michal --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org