Skip to content

Commit 128441b

Browse files
committed
gulp build updates
1 parent 0a39f05 commit 128441b

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

gulpfile.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ gulp.task('css', ['clean'], function () {
1313
.pipe(rename({
1414
suffix: '.min'
1515
}))
16-
.pipe(gulp.dest('./dist/css/'));
16+
.pipe(gulp.dest('./dist/css/'))
17+
.pipe(gulp.dest('./src/stable/css/'));
1718
});
1819

1920
gulp.task('js', ['clean'], function () {
@@ -23,7 +24,8 @@ gulp.task('js', ['clean'], function () {
2324
.pipe(rename({
2425
suffix: '.min'
2526
}))
26-
.pipe(gulp.dest('./dist/js/'));
27+
.pipe(gulp.dest('./dist/js/'))
28+
.pipe(gulp.dest('./src/stable/js/'));
2729
});
2830

2931
gulp.task('bump', ['bump-js', 'bump-css'], function(){
@@ -34,13 +36,13 @@ gulp.task('bump', ['bump-js', 'bump-css'], function(){
3436

3537
gulp.task('bump-js', function () {
3638
return gulp.src(['src/stable/js/tableexport.js'])
37-
.pipe(replace(/(v\d\.\d\.)(\d)/g, function (matches, match1, match2) {
38-
return match1 + (Number(match2)+1);
39-
}))
40-
.pipe(gulp.dest('src/stable/js/'))
41-
.on('end', function () {
42-
gulp.start('js');
43-
});
39+
.pipe(replace(/(v\d\.\d\.)(\d)/g, function (matches, match1, match2) {
40+
return match1 + (Number(match2)+1);
41+
}))
42+
.pipe(gulp.dest('src/stable/js/'))
43+
.on('end', function () {
44+
gulp.start('js');
45+
});
4446
});
4547

4648
gulp.task('bump-css', function () {

0 commit comments

Comments
 (0)