Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit ca4b5d8

Browse files
committed
Additional gulp tasks.
Make things easier for versioning.
1 parent ea6e40e commit ca4b5d8

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

gulpfile.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ gulp.task('bump-patch', function() {
6060
.pipe(gulp.dest('./'));
6161
});
6262

63+
gulp.task('bump-tag-major', function() {
64+
return runSequence('bump-major', 'tag');
65+
});
66+
gulp.task('bump-tag-minor', function() {
67+
return runSequence('bump-minor', 'tag');
68+
});
69+
gulp.task('bump-tag-patch', function() {
70+
return runSequence('bump-patch', 'tag');
71+
});
72+
6373
gulp.task('psc', function() {
6474
return purescript.psc({
6575
src: paths.bowerSrc.concat(paths.src),
@@ -89,7 +99,11 @@ gulp.task('test', ['test-compile'], function() {
8999
});
90100

91101
gulp.task('watch', function() {
92-
gulp.watch([paths.src, paths.test], function() {runSequence('psc', 'test', 'docs')});
102+
gulp.watch([paths.src, paths.test], function() {
103+
return runSequence('psc', 'test', 'docs')
104+
});
93105
});
94106

95-
gulp.task('default', function() {runSequence('psc', 'test', 'docs')});
107+
gulp.task('default', function() {
108+
return runSequence('psc', 'test', 'docs')
109+
});

0 commit comments

Comments
 (0)