1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-06 18:42:49 -05:00

move mail and sql updates to util folder

This commit is contained in:
Kyle Spearrin
2017-05-31 08:32:45 -04:00
parent 8a47869899
commit a3a42f4fd5
14 changed files with 3 additions and 3 deletions

20
util/Mail/gulpfile.js Normal file
View File

@ -0,0 +1,20 @@
/// <binding BeforeBuild='build, dist' Clean='clean' ProjectOpened='build. dist' />
var gulp = require('gulp'),
rimraf = require('rimraf'),
premailer = require('gulp-premailer');
var paths = {
dist: '../../mail_dist/',
wwwroot: './wwwroot/'
};
gulp.task('inline', ['clean'], function () {
return gulp.src(paths.wwwroot + 'templates/*.html')
.pipe(premailer())
.pipe(gulp.dest(paths.dist));
});
gulp.task('clean', function (cb) {
return rimraf(paths.dist, cb);
});