mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
PreRelease fixes
This commit is contained in:
parent
34a9b8cbc5
commit
42bac6aa2f
55 changed files with 578 additions and 238 deletions
17
gulpfile.js
17
gulpfile.js
|
|
@ -140,11 +140,17 @@ cfg.paths.js = {
|
|||
]
|
||||
},
|
||||
openpgp: {
|
||||
name: 'openpgp.js',
|
||||
name: 'openpgp.min.js',
|
||||
src: [
|
||||
'vendors/openpgp/openpgp-0.10.1.min.js'
|
||||
]
|
||||
},
|
||||
openpgpworker: {
|
||||
name: 'openpgp.worker.min.js',
|
||||
src: [
|
||||
'vendors/openpgp/openpgp-0.10.1.worker.min.js'
|
||||
]
|
||||
},
|
||||
encrypt: {
|
||||
name: 'bundle.js',
|
||||
header: '(function (window) {',
|
||||
|
|
@ -294,6 +300,13 @@ gulp.task('js:openpgp', function() {
|
|||
.pipe(gulp.dest(cfg.paths.staticMinJS));
|
||||
});
|
||||
|
||||
gulp.task('js:openpgpworker', function() {
|
||||
return gulp.src(cfg.paths.js.openpgpworker.src)
|
||||
.pipe(rename(cfg.paths.js.openpgpworker.name))
|
||||
.pipe(eol('\n', true))
|
||||
.pipe(gulp.dest(cfg.paths.staticMinJS));
|
||||
});
|
||||
|
||||
gulp.task('js:libs', function() {
|
||||
return gulp.src(cfg.paths.js.libs.src)
|
||||
.pipe(concat(cfg.paths.js.libs.name, {separator: '\n\n'}))
|
||||
|
|
@ -642,7 +655,7 @@ gulp.task('rainloop:owncloud:clean', ['rainloop:owncloud:copy', 'rainloop:ownclo
|
|||
});
|
||||
|
||||
// MAIN
|
||||
gulp.task('default', ['js:libs', 'js:boot', 'js:openpgp', 'js:min', 'css:main:min', 'ckeditor', 'fontastic']);
|
||||
gulp.task('default', ['js:libs', 'js:boot', 'js:openpgp', 'js:openpgpworker', 'js:min', 'css:main:min', 'ckeditor', 'fontastic']);
|
||||
gulp.task('fast-', ['js:app', 'js:admin', 'js:chunks', 'css:main']);
|
||||
|
||||
gulp.task('fast', ['package:community-on', 'fast-']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue