Fixed cake script

pull/1510/head
Jamie.Rees 7 years ago
parent 4a0e01054a
commit 302f7ca285

@ -10,7 +10,7 @@
// ARGUMENTS // ARGUMENTS
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
var target = Argument("target", "Build"); var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release"); var configuration = Argument("configuration", "Release");
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
@ -58,7 +58,7 @@ Task("Clean")
.Does(() => .Does(() =>
{ {
CleanDirectory(buildDir); CleanDirectory(buildDir);
//CleanDirectory(nodeModulesDir); CleanDirectory(nodeModulesDir);
CleanDirectory(wwwRootDistDir); CleanDirectory(wwwRootDistDir);
}); });
@ -86,7 +86,7 @@ Task("SetVersionInfo")
Task("Restore") Task("Restore")
.IsDependentOn("SetVersionInfo") .IsDependentOn("SetVersionInfo")
//.IsDependentOn("Gulp Publish") .IsDependentOn("Gulp Publish")
.Does(() => .Does(() =>
{ {
DotNetCoreRestore(projDir); DotNetCoreRestore(projDir);
@ -134,9 +134,9 @@ Task("Package")
Task("Publish") Task("Publish")
.IsDependentOn("Build") .IsDependentOn("Build")
.IsDependentOn("Publish-Windows"); .IsDependentOn("Publish-Windows")
//.IsDependentOn("Publish-OSX").IsDependentOn("Publish-Ubuntu").IsDependentOn("Publish-Debian").IsDependentOn("Publish-Centos") .IsDependentOn("Publish-OSX").IsDependentOn("Publish-Ubuntu").IsDependentOn("Publish-Debian").IsDependentOn("Publish-Centos")
//.IsDependentOn("Package"); .IsDependentOn("Package");
Task("Publish-Windows") Task("Publish-Windows")
.Does(() => .Does(() =>

Loading…
Cancel
Save