Commit dc28d48d authored by Adam Leyshon's avatar Adam Leyshon
Browse files

Delete and recreate the Assemblies staging area before each build.

parent 33c1d56e
......@@ -15,7 +15,7 @@ var mod_base_path = "./mod_package";
var mod_path = $"./{mod_base_path}/{modname} [{version}]";
var git_hash = "";
var asm_version = "";
var steam_folder = @"E:\Games\Steam\steamapps\common\RimWorld\Mods";
var steam_folder = @"D:\Games\Steam\steamapps\common\RimWorld\Mods";
///////////////////////////////////////////////////////////////////////////////
// SETUP / TEARDOWN
......@@ -44,6 +44,12 @@ Task("CopyDataFolders")
CopyDirectory("./Defs", mod_path+"/Defs");
CopyDirectory("./Languages", mod_path+"/Languages");
CopyDirectory("./Textures", mod_path+"/Textures");
CreateDirectory(mod_path+"/Assemblies");
DeleteDirectory(mod_path+"/Assemblies", new DeleteDirectorySettings {
Recursive = true,
Force = true
});
CreateDirectory(mod_path+"/Assemblies");
});
Task("CopyDLLs")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment