aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-31 18:33:00 +1000
committerGitHub <noreply@github.com>2018-05-31 18:33:00 +1000
commiteec96e58793b0627efbe020f4efb8193cc49b8db (patch)
tree4e12c1dd9a4e284b754ecf6115da1d467f857d8c /gulpfile.js
parentc6c9d877e4ae90b6045a5be83da2dc4b0ce0e08a (diff)
parent359acd6bb9fc6158cfa9a10001b2e264fc31929b (diff)
downloadplyr-eec96e58793b0627efbe020f4efb8193cc49b8db.tar.lz
plyr-eec96e58793b0627efbe020f4efb8193cc49b8db.tar.xz
plyr-eec96e58793b0627efbe020f4efb8193cc49b8db.zip
Merge pull request #990 from friday/travis
Travis integration
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