actually add build dir to repo, have postbuild delete the build folder before copying
This commit is contained in:
parent
ce42b42806
commit
27c5b6c447
|
@ -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.
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.
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue