diff options
author | Albin Larsson <mail@albinlarsson.com> | 2018-05-30 18:49:48 +0200 |
---|---|---|
committer | Albin Larsson <mail@albinlarsson.com> | 2018-05-30 19:39:57 +0200 |
commit | a82c61c539068417833747e500017c6c9964090d (patch) | |
tree | d0f0ebd555df2d237de959f514116bf7b9bf6b0d | |
parent | 450958c2904ad9e2d0c4f283af96f9bf69eeb250 (diff) | |
download | plyr-a82c61c539068417833747e500017c6c9964090d.tar.lz plyr-a82c61c539068417833747e500017c6c9964090d.tar.xz plyr-a82c61c539068417833747e500017c6c9964090d.zip |
Gulp: Add option to build only
-rw-r--r-- | gulpfile.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 9a6da95f..28909e27 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -226,9 +226,14 @@ gulp.task('watch', () => { gulp.watch(paths.demo.src.sass, tasks.sass); }); +// Build distribution +gulp.task('build', () => { + run(tasks.clean, tasks.js, tasks.sass, tasks.sprite); +}); + // Default gulp task gulp.task('default', () => { - run(tasks.clean, tasks.js, tasks.sass, tasks.sprite, 'watch'); + run('build', 'watch'); }); // Publish a version to CDN and demo |