mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 01:28:56 +08:00
17 lines
462 B
JavaScript
17 lines
462 B
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under MIT */
|
|
const gulp = require('gulp');
|
|
const del = require('del');
|
|
const fs = require('fs');
|
|
|
|
const { config } = require('./config');
|
|
|
|
exports.del = (dir) => del(dir);
|
|
|
|
exports.copy = (sFile, sNewFile, done) => {
|
|
fs.writeFileSync(sNewFile, fs.readFileSync(sFile));
|
|
done();
|
|
};
|
|
|
|
exports.getHead = () => config.head.agpl;
|
|
|
|
exports.cleanStatic = () => del(config.paths.staticJS) && del(config.paths.staticCSS);
|