cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Proulx <>
Subject Re: Automatically installing missing platforms from cli
Date Fri, 09 Jan 2015 18:54:36 GMT
+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" <> 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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message