actually add build dir to repo, have postbuild delete the build folder before copying

This commit is contained in:
nilllzz 2018-02-22 23:43:47 +01:00
parent ce42b42806
commit 27c5b6c447
50 changed files with 8 additions and 0 deletions

3
.gitignore vendored
View File

@ -314,3 +314,6 @@ p3d/ContentPacks/
p3d/GameModes/
p3d/save/
p3d/log.dat
# include lib/build
!lib/build

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/build/Pokemon3D.exe Normal file

Binary file not shown.

BIN
lib/build/SharpDX.DXGI.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/build/SharpDX.dll Normal file

Binary file not shown.

Binary file not shown.

View File

@ -48,6 +48,11 @@ namespace PostBuild
Console.WriteLine($"Created build folder at {buildFolder}");
Directory.CreateDirectory(buildFolder);
}
else
{
// delete current lib/build
Directory.Delete(buildFolder, true);
}
var binFolder = Path.Combine(solutionFolder, "p3d/bin/Debug");
if (Directory.Exists(binFolder))