diff --git a/build.cake b/build.cake index 019e877..033a562 100644 --- a/build.cake +++ b/build.cake @@ -1,5 +1,3 @@ -#tool "NUnit.Console" - using System.Xml.Linq; //////////////////// @@ -27,9 +25,6 @@ var projects = new[] }; var projectDirsToClean = new[] { "bin", "obj", "AppPackages" }; -// Assemblies containing unit tests -var unitTestAssemblies = new string[] { }; - // NuGet package ID; change if different from project name var nugetId = projectName; // Path to the nuspec file @@ -133,18 +128,9 @@ Task("Build") } }); -// Runs the unit tests -Task("Test") - .WithCriteria(unitTestAssemblies.Any()) - .IsDependentOn("Build") - .Does(() => -{ - NUnit(unitTestAssemblies); -}); - // Creates the NuGet package Task("Pack") - .IsDependentOn("Test") + .IsDependentOn("Build") .Does(() => { CreateDirectory(nupkgDir); @@ -183,7 +169,7 @@ Task("Push") ///////////// Task("Default") - .IsDependentOn("Test"); + .IsDependentOn("Build"); /////////////// // Execution //