mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
CommonJS (research/4)
This commit is contained in:
parent
06bb124379
commit
8d73c7b1b2
127 changed files with 1893 additions and 1085 deletions
17
gulpfile.js
17
gulpfile.js
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
||||
'use strict';
|
||||
|
||||
var
|
||||
|
|
@ -622,9 +622,22 @@ gulp.task('bro', function() {
|
|||
.add('./_RainLoopBoot.js')
|
||||
.bundle()
|
||||
.pipe(source('app.js'))
|
||||
|
||||
.pipe(streamify(jshint('.jshintrc')))
|
||||
.pipe(jshint.reporter('jshint-summary', cfg.summary))
|
||||
.pipe(jshint.reporter('fail'))
|
||||
|
||||
// .pipe(rename('app.min.js'))
|
||||
// .pipe(streamify(uglify(cfg.uglify)))
|
||||
.pipe(gulp.dest(cfg.paths.staticJS));
|
||||
.pipe(gulp.dest(cfg.paths.staticJS))
|
||||
.on('error', gutil.log);
|
||||
});
|
||||
|
||||
gulp.task('lint', function() {
|
||||
return gulp.src('./dev/**/*.js')
|
||||
.pipe(jshint('.jshintrc'))
|
||||
.pipe(jshint.reporter('jshint-summary', cfg.summary))
|
||||
.pipe(jshint.reporter('fail'));
|
||||
});
|
||||
|
||||
gulp.task('ww', ['bro'], function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue