mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-30 23:06:18 +00:00
Moved new build process out of gulp folder
This commit is contained in:
parent
e80428ec2b
commit
56d5f33453
@ -1,6 +1,6 @@
|
||||
|
||||
const path = require('path');
|
||||
const ROOT = path.resolve(__dirname, '../..');
|
||||
const ROOT = path.resolve(__dirname, '..');
|
||||
const fs = require('fs-extra');
|
||||
const { is: _is } = require('./lib/util');
|
||||
|
@ -3,10 +3,10 @@ const { series, watch } = require('gulp');
|
||||
|
||||
/** **************************************************************************************************************** **/
|
||||
|
||||
var content = require('./content');
|
||||
var build = require('../build');
|
||||
|
||||
const devBuildTask = content.everything();
|
||||
const prodBuildTask = content.everything(true);
|
||||
const devBuildTask = build.everything();
|
||||
const prodBuildTask = build.everything(true);
|
||||
|
||||
var cleanTask = require('./clean');
|
||||
exports.clean = cleanTask;
|
||||
@ -44,12 +44,10 @@ function watcher () {
|
||||
}
|
||||
|
||||
function server () {
|
||||
|
||||
var forever = require('forever');
|
||||
var srv = new forever.Monitor('server.js');
|
||||
srv.start();
|
||||
forever.startServer(srv);
|
||||
|
||||
}
|
||||
|
||||
exports.watch = series(devBuildTask, watcher);
|
||||
|
Loading…
x
Reference in New Issue
Block a user