diff options
Diffstat (limited to 'js/gulpfile.js')
-rw-r--r-- | js/gulpfile.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index a3bd30eec..6e8907632 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -8,6 +8,7 @@ * @copyright Bernhard Posselt 2012, 2014 */ +/*jslint node: true */ 'use strict'; const gulp = require('gulp'), @@ -22,7 +23,7 @@ const gulp = require('gulp'), /** * Configuration */ -const buildName = 'app.min.js'; +const buildTarget = 'app.min.js'; const phpunitConfig = __dirname + '/../phpunit.xml'; const karmaConfig = __dirname + '/karma.conf.js'; const destinationFolder = __dirname + '/build/'; @@ -45,7 +46,7 @@ gulp.task('default', ['lint'], () => { return gulp.src(sources) .pipe(ngAnnotate()) .pipe(sourcemaps.init()) - .pipe(concat(buildName)) + .pipe(concat(buildTarget)) .pipe(uglify()) .pipe(sourcemaps.write()) .pipe(gulp.dest(destinationFolder)); @@ -67,14 +68,14 @@ gulp.task('karma', (done) => { configFile: karmaConfig, singleRun: true }, done).start(); -}) +}); gulp.task('watch-karma', (done) => { new KarmaServer({ configFile: karmaConfig, autoWatch: true }, done).start(); -}) +}); gulp.task('phpunit', () => { gulp.src(phpSources) |