diff options
author | Marian Oancea <contact@siteshop.ro> | 2014-11-10 20:53:35 +0800 |
---|---|---|
committer | Marian Oancea <contact@siteshop.ro> | 2014-11-10 20:53:35 +0800 |
commit | d95e2b7999750a8a2fb3c54258935f916379e6c6 (patch) | |
tree | 1360eb33fd0b8c8ade1dcd5565cefae0c5f7d27d /gulpfile.js | |
parent | 6fc5d8e81e8f01ec0a9654268ac0593f74841c30 (diff) | |
download | go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar.gz go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar.bz2 go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar.lz go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar.xz go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.tar.zst go-tangerine-d95e2b7999750a8a2fb3c54258935f916379e6c6.zip |
Fixed jshint warnings
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js index 120e4532d..987c127ba 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -36,7 +36,7 @@ gulp.task('clean', ['lint'], function(cb) { del([ DEST ], cb); }); -gulp.task('build', ['clean'], function () { +gulp.task('prepare', ['clean'], function () { return browserify({ debug: true, insert_global_vars: false, @@ -59,8 +59,8 @@ gulp.task('build', ['clean'], function () { hoist_vars: true, negate_iife: false }, - beautify: false, - warnings: true, + beautify: true, + warnings: true }) .bundle() .pipe(exorcist(path.join( DEST, 'ethereum.js.map'))) @@ -68,7 +68,7 @@ gulp.task('build', ['clean'], function () { .pipe(gulp.dest( DEST )); }); -gulp.task('uglify', ['build'], function(){ +gulp.task('build', ['prepare'], function(){ return gulp.src( DEST + 'ethereum.js') .pipe(uglify()) .pipe(rename('ethereum.min.js')) @@ -76,7 +76,7 @@ gulp.task('uglify', ['build'], function(){ }); gulp.task('watch', function() { - gulp.watch(['./lib/*.js'], ['lint', 'build', 'uglify']); + gulp.watch(['./lib/*.js'], ['lint', 'prepare', 'build']); }); -gulp.task('default', ['bower', 'lint', 'build', 'uglify']); +gulp.task('default', ['bower', 'lint', 'prepare', 'build']); |