MCPcopy Create free account
hub / github.com/JedWatson/react-hammerjs / getBumpTask

Function getBumpTask

gulpfile.js:86–92  ·  view source on GitHub ↗

* Version bump tasks

(type)

Source from the content-addressed store, hash-verified

84 */
85
86function getBumpTask(type) {
87 return function () {
88 return gulp.src(['./package.json', './bower.json'])
89 .pipe(bump({ type: type }))
90 .pipe(gulp.dest('./'));
91 };
92}
93
94gulp.task('bump', getBumpTask('patch'));
95gulp.task('bump:minor', getBumpTask('minor'));

Callers 1

gulpfile.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…