mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 09:36:09 +08:00
17 lines
429 B
JavaScript
17 lines
429 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.static);
|