Skip to content

Commit

Permalink
Update gulpfile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dasboe committed Oct 23, 2018
1 parent 6dbe1b1 commit e23c27a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const rename = require('gulp-rename');
const uglify = require('gulp-uglify');
const pump = require('pump');

gulp.task('default', function (cb) {
gulp.task('svg-inject', function (cb) {
pump([
gulp.src('src/svg-inject.js'),
gulp.dest('dist/'),
Expand All @@ -23,9 +23,15 @@ gulp.task('default', function (cb) {
rename({ extname: '.min.js' }),
gulp.dest('examples/'),
gulp.dest('test/js/'),
gulp.dest('dist/'),
gulp.dest('dist/')
], cb);
});

gulp.task('xhr-check', function (cb) {
pump([
gulp.src('test/js/xhr-check.js'),
gulp.dest('examples/_example_helpers/')
], cb);
});
});

gulp.task('default', ['svg-inject', 'xhr-check']);

0 comments on commit e23c27a

Please sign in to comment.