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> > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------------------------------------ > ------------------------------ >
