Skip to content

Commit ea14a41

Browse files
committed
Don't remove pdb files
1 parent b783e6b commit ea14a41

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

build.cake

-10
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ if (buildBranch != "master") {
2222
//////////////////////////////////////////////////////////////////////
2323

2424
// Remove unnecessary files for packaging.
25-
private void ImpostorClean(string directory) {
26-
foreach (var file in System.IO.Directory.GetFiles(directory, "*.pdb", SearchOption.AllDirectories)) {
27-
System.IO.File.Delete(file);
28-
}
29-
}
30-
3125
private void ImpostorPublish(string name, string project, string runtime, bool isServer = false) {
3226
var projBuildDir = buildDir.Combine(name + "_" + runtime);
3327
var projBuildName = name + "_" + buildVersion + "_" + runtime;
@@ -43,8 +37,6 @@ private void ImpostorPublish(string name, string project, string runtime, bool i
4337
OutputDirectory = projBuildDir
4438
});
4539

46-
ImpostorClean(projBuildDir.ToString());
47-
4840
if (isServer) {
4941
CreateDirectory(projBuildDir.Combine("plugins"));
5042
CreateDirectory(projBuildDir.Combine("libraries"));
@@ -73,8 +65,6 @@ private void ImpostorPublishNF(string name, string project) {
7365
OutputDirectory = projBuildDir
7466
});
7567

76-
ImpostorClean(projBuildDir.ToString());
77-
7868
Zip(projBuildDir, projBuildZip);
7969
}
8070

0 commit comments

Comments
 (0)