You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`startMarker` and `endMarker` are markers the plugin use to know where to insert code if a hook already exist.
206
+
`startMarker` and `endMarker` are markers the plugin use to know where to insert code if a hook already exist.
207
207
If the existing hook doesn't have these markers, the code will simply be appended.
208
208
209
209
#### preventExit
210
210
Type: `Boolean`
211
211
Default `false`
212
212
213
-
By default, the inserted code will exit the process after Grunt has run, using a -1 exit code if the task(s) failed.
213
+
By default, the inserted code will exit the process after Grunt has run, using a -1 exit code if the task(s) failed.
214
214
If you're inserting the code running Grunt in the middle of an existing hook,
215
215
you might want to disable this so any code after what was inserted by the plugin runs.
216
216
217
217
#### dest
218
218
Type: `String`
219
219
Default value: `'.git/hooks'`
220
220
221
-
This option allows you to choose in which directory the hooks should be generated.
221
+
This option allows you to choose in which directory the hooks should be generated.
222
222
Comes in handy if your Gruntfile is not at the root of your Git project.
223
223
224
224
@@ -228,12 +228,9 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.
228
228
229
229
230
230
## Release History
231
-
232
-
- 2013-12-17 v0.3.1 [Escaping fix in the hooks templates](https://github.com/rhumaric/grunt-githooks/pull/15) by @gyoshev.
231
+
232
+
- 2014-07-30 v0.3.2 Moved from @rhumaric to @wecodemore, updated default Nodejs template, updated badges
233
+
- 2013-12-17 v0.3.1 [Escaping fix in the hooks templates](https://github.com/wecodemore/grunt-githooks/pull/15) by @gyoshev.
233
234
- 2013-11-13 v0.3.0 New *command* option to specify which command to run, in case full path to Grunt is needed. NodeJS template now uses new `escapeBackslashes` helper to make sure backslashes ('\') are properly escaped when written in the hook
234
235
- 2013-10-05 v0.2.0 New *args* option to specify arguments to hooked task. Bugfix to allow running grunt when the Gruntfile is not at the root of the project.
0 commit comments