aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-06-09 17:03:16 +1000
committerSam Potts <sam@potts.es>2018-06-09 17:03:16 +1000
commit7c6d4666e99f1604c28c57bec12f16bd0fb7e79c (patch)
tree2b5e3288defe5760694fe1096cc1d9c3490f3118 /gulpfile.js
parent90c5735904354f5fde0dcdae9f8894fe9088739c (diff)
parent76bb299c68a6b5cc72729771aca2f0d51078ebc5 (diff)
downloadplyr-7c6d4666e99f1604c28c57bec12f16bd0fb7e79c.tar.lz
plyr-7c6d4666e99f1604c28c57bec12f16bd0fb7e79c.tar.xz
plyr-7c6d4666e99f1604c28c57bec12f16bd0fb7e79c.zip
Merge branch 'develop' into a11y-improvements
# Conflicts: # demo/dist/demo.css # dist/plyr.css # dist/plyr.js.map # dist/plyr.min.js # dist/plyr.min.js.map # dist/plyr.polyfilled.js # dist/plyr.polyfilled.js.map # dist/plyr.polyfilled.min.js # dist/plyr.polyfilled.min.js.map # src/js/captions.js # src/js/plyr.js
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js7
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