cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Hooks?
Date Thu, 30 Jan 2014 15:07:31 GMT
Also, the hooks/ folder has moved out of .cordova/ and into the root.
 Probably this change hasn't shipped yet since we haven't been able to
publish CLI to npm for such a long time (though I hear this is now resolved
-- thanks Brian!).


On Wed, Jan 29, 2014 at 5:27 PM, John M. Wargo <jwargo23@gmail.com> wrote:

> See, even though I'm not contributing code to the project, I still add
> value from pointing out where things aren't explained very well. :=)
>
>
> On 1/29/2014 5:19 PM, Brian LeRoux wrote:
>
>> Added an issue to, you know, document hooks. ;)
>>
>> Great first bug!
>>
>> https://issues.apache.org/jira/browse/CB-5941
>>
>>
>>
>>
>> On Wed, Jan 29, 2014 at 10:32 AM, Dick Van den Brink <
>> d_vandenbrink@outlook.com> wrote:
>>
>>  I created 2 simple ones here:
>>> https://github.com/DickvdBrink/cordova-hooks
>>>
>>> The only docs for it are here I guess:
>>> https://github.com/apache/cordova-cli/blob/master/
>>> templates/hooks-README.md
>>>
>>>
>>>
>>> ----------------------------------------
>>>
>>>> From: shazron@gmail.com
>>>> Date: Wed, 29 Jan 2014 10:22:58 -0800
>>>> Subject: Re: Hooks?
>>>> To: dev@cordova.apache.org
>>>>
>>>> When you create a project using the CLI, there is a hidden folder called
>>>> ".cordova", in it is a folder called "hooks" which contain hook folders
>>>> that you can add scripts to. See example:
>>>>
>>>>  https://github.com/SpiderOak/SpiderOakMobileClient/tree/
>>> master/.cordova/hooks
>>>
>>>>
>>>> On Wed, Jan 29, 2014 at 10:02 AM, Ian Clelland <iclelland@chromium.org
>>>> wrote:
>>>>
>>>>  Hooks are scripts that can be run at various times in the cordova build
>>>>> process. There is a directory for them, with subdirectories for each
>>>>>
>>>> time:
>>>
>>>> pre-prepare, post-prepare, pre-build, post-build, etc.
>>>>>
>>>>> They're part of cordova-cli, which runs them automatically. I don't
>>>>>
>>>> know if
>>>
>>>> they're properly documented anywhere.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jan 29, 2014 at 12:59 PM, John M. Wargo <jwargo23@gmail.com>
>>>>> wrote:
>>>>>
>>>>>  So, what exactly are hooks?
>>>>>>
>>>>>> --
>>>>>> John M. Wargo
>>>>>> @johnwargo <http://twitter.com/johnwargo>
>>>>>> www.johnwargo.com <http://www.johnwargo.com>
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------------------------------------
>>>>>> ------------------------------
>>>>>>
>>>>>>
>

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