cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: create and override of default template
Date Mon, 28 Oct 2013 18:35:26 GMT
Indeed, the CLI should not care about the platform. The ./cordova/create
script is very concerned with platform. That is where our impedance
mismatch exists. =)

We need ALL platforms to allow for this capability in ./cordova/bin/create
before we can surface in the CLI. That would be the next step.


On Mon, Oct 28, 2013 at 11:17 AM, Ray Camden <raycamde@adobe.com> wrote:

> I disagree completely. Why does cordova need to know about the platform?
> Right now when I make a virgin project, before I add *any* platform, there
> is a default project created. All we want (well, ok, all I want ;) is the
> ability to override that so I can have a ³blank² project as opposed to the
> hello world one. This is not project specific at all. Certainly after I
> create the project I¹ll add a platform or two, but this should be done on
> initial platform creation.
>
>
> On 10/28/13, 1:15 PM, "Ian Clelland" <iclelland@chromium.org> wrote:
>
> >On Mon, Oct 28, 2013 at 2:07 PM, Michal Mocny <mmocny@chromium.org>
> wrote:
> >
> >> +1 to suggestion for adding it as arg to cordova platform add.
> >>
> >> Could it be as simple as:
> >>
> >> cordova platform add path/to/platform/type ?
> >>
> >
> >Not sure if we could make it *that* simple :)
> >
> >At least we could very easily make it
> >
> >cordova platform add <platform name> [template directory]
> >
> >I think that the CLI needs to know a little bit about the platform itself,
> >and couldn't just work from a raw directory without knowing what kind of
> >device it was intended for. (I'd love to be shown wrong about that,
> >though)
> >
> >Ian
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message