diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-12 18:01:08 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-12 18:01:08 +0100 |
commit | 9d29caf1f21a674eee2ddf4777e4895d8063e778 (patch) | |
tree | 1bafa5be60bfebbba7aa0af00e03e3aa8e783bf3 /js | |
parent | 29dca3a6c6bd5789991eb4ce3398c67ef3d12101 (diff) |
small fix
Diffstat (limited to 'js')
-rw-r--r-- | js/gulpfile.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index 2347a99b8..44b7776e5 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -20,9 +20,7 @@ const gulp = require('gulp'), concat = require('gulp-concat'), sourcemaps = require('gulp-sourcemaps'); -/** - * Configuration - */ +// Configuration const buildTarget = 'app.min.js'; const phpunitConfig = __dirname + '/../phpunit.xml'; const karmaConfig = __dirname + '/karma.conf.js'; @@ -39,9 +37,10 @@ const sources = [ ]; const testSources = ['tests/**/*.js']; const phpSources = ['../**/*.php', '!../js/**', '!../vendor/**']; -const watchSources = sources.concat(testSources).concat('*.js'); +const watchSources = sources.concat(testSources).concat(['*.js']); const lintSources = watchSources; +// tasks gulp.task('default', ['lint'], () => { return gulp.src(sources) .pipe(ngAnnotate()) |