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 < [email protected]> 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: [email protected] > > Date: Wed, 29 Jan 2014 10:22:58 -0800 > > Subject: Re: Hooks? > > To: [email protected] > > > > 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 <[email protected] > >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 <[email protected]> > >> wrote: > >> > >>> So, what exactly are hooks? > >>> > >>> -- > >>> John M. Wargo > >>> @johnwargo <http://twitter.com/johnwargo> > >>> www.johnwargo.com <http://www.johnwargo.com> > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------------------------------------ > >>> ------------------------------ > >>> > >> >
