Skip to content

Commit

Permalink
Run PdbGit just before NuGet pack
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslevesque committed May 16, 2017
1 parent 3b6ba2a commit f5cced5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.csx
Expand Up @@ -61,7 +61,7 @@ static var testsDirectory = "./artifacts/tests";
// targets
var targets = new TargetDictionary();

targets.Add("default", DependsOn("pdbgit", "unit", "integ", "spec", "approve", "pack"));
targets.Add("default", DependsOn("unit", "integ", "spec", "approve", "pack"));

targets.Add("outputDirectory", () => Directory.CreateDirectory(outputDirectory));

Expand All @@ -71,7 +71,7 @@ targets.Add("logsDirectory", () => Directory.CreateDirectory(logsDirectory));

targets.Add("testsDirectory", () => Directory.CreateDirectory(testsDirectory));

targets.Add("build", DependsOn("clean", "outputDirectory", "restore"), () => RunMsBuild("Build"));
targets.Add("build", DependsOn("clean", "restore"), () => RunMsBuild("Build"));

targets.Add(
"coverity",
Expand Down Expand Up @@ -153,7 +153,7 @@ targets.Add(

targets.Add(
"pack",
DependsOn("build", "outputDirectory"),
DependsOn("build", "outputDirectory", "pdbgit"),
() =>
{
var version = GetVersion();
Expand Down Expand Up @@ -286,7 +286,7 @@ class DotnetTestSuite : TestSuite
public override void Execute()
{
var xml = Path.GetFullPath(Path.Combine(testsDirectory, Path.GetFileName(this.TestDirectory) + ".TestResults.xml"));
Cmd(this.TestDirectory, "dotnet", $"xunit -configuration Release -nologo -notrait \"explicit=yes\" -xml {xml} -nobuild");
Cmd(this.TestDirectory, "dotnet", $"xunit -configuration Release -nologo -nobuild -notrait \"explicit=yes\" -xml {xml}");
}
}

Expand Down

0 comments on commit f5cced5

Please sign in to comment.