Add log, mods, and temp directory creation in output directory
This commit is contained in:
parent
b9bb16b0ed
commit
07c7199adb
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ if (fs.existsSync(__dirname + "/dist")) {
|
|||
else fs.rmdirSync(__dirname + "/dist", {recursive: true});
|
||||
}
|
||||
fs.mkdirSync(__dirname + "/dist");
|
||||
fs.mkdirSync(__dirname + "/dist/log");
|
||||
fs.mkdirSync(__dirname + "/dist/mods");
|
||||
fs.mkdirSync(__dirname + "/dist/temp");
|
||||
|
||||
// Remove the out directory if exists, and create a new one.
|
||||
if (fs.existsSync(__dirname + "/out")) {
|
||||
|
|
Loading…
Reference in a new issue