cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John M. Wargo" <jwarg...@gmail.com>
Subject Re: Hooks
Date Fri, 25 Apr 2014 21:00:46 GMT
But a complete project template could include hooks and even merges.

John M. Wargo

> On Apr 22, 2014, at 12:11 PM, "Brian LeRoux" <b@brian.io> wrote:
> 
> working only for www makes sense to me. if I'm creating a wholesale copy
> why not just cp -r? changing the namespace?
> 
> 
>> On Tue, Apr 22, 2014 at 8:53 AM, Andrew Grieve <agrieve@chromium.org> wrote:
>> 
>> There's an outstanding bug that --copy-from and --link-to work only for
>> www/. https://issues.apache.org/jira/browse/CB-5833. Would be great if
>> anyone wanted to take it on :)
>> 
>> 
>>> On Tue, Apr 22, 2014 at 9:38 AM, Wargo, John <john.wargo@sap.com> wrote:
>>> 
>>> I was relying upon the docs. The CLI help is pretty unreadable in a
>>> terminal window on Windows as it's written for a 120 character wide
>> screen
>>> for some reason and Windows terminal by default is 80 characters wide.  I
>>> guess we need to get the docs updated to reflect these parameters. I'll
>>> submit a ticket and perhaps fix this.
>>> 
>>> What about hooks though? It seems that the copyfrom option is for the www
>>> folder contents, but what about merges and hooks? Shouldn't a 'complete'
>>> project template include both as well?  It seems to me that the copyto
>>> option should copy to the root project level which would then allow
>>> developers to include stuff in hooks and merges as well as www when
>> copying
>>> over a project template.
>>> 
>>> What do you think?
>>> 
>>> John M. Wargo
>>> SCN Blog: http://scn.sap.com/blogs/johnwargo
>>> Twitter: @johnwargo
>>> 
>>> -----Original Message-----
>>> From: Shazron [mailto:shazron@gmail.com]
>>> Sent: Monday, April 21, 2014 1:29 PM
>>> To: dev@cordova.apache.org
>>> Subject: Re: Hooks
>>> 
>>> In the help for cordova create in 3.4, there is the --copy-from and
>>> --link-to options.
>>> 
>>> 
>>> 
>>>> On Mon, Apr 21, 2014 at 10:22 AM, John Wargo <john@johnwargo.com> wrote:
>>>> 
>>>> Regarding hooks, is there an easy way to deploy them to your project?
>> For
>>>> example, with the ability to specify a project template to use with the
>>> CLI
>>>> create command, can that include hooks?
>>>> 
>>>> I thought the template option was added to the CLI, but the 3.4 CLI
>> docs
>>>> don't mention it:
>>> http://cordova.apache.org/docs/en/3.4.0/guide_cli_index.
>>>> md.html#The%20Command-Line%20Interface. Is it in there?
>> 

Mime
View raw message