mirror of https://github.com/Jackett/Jackett
Cake build: Code tidy (#2121)
This commit is contained in:
parent
84571f05fc
commit
9507369293
15
build.cake
15
build.cake
|
@ -41,7 +41,7 @@ Task("Clean")
|
|||
CleanDirectories("./" + artifactsDirName);
|
||||
CleanDirectories("./" + testResultsDirName);
|
||||
|
||||
Information(@"Clean completed");
|
||||
Information("Clean completed");
|
||||
});
|
||||
|
||||
Task("Restore-NuGet-Packages")
|
||||
|
@ -95,6 +95,8 @@ Task("Copy-Files-Full-Framework")
|
|||
CopyDirectory(windowsBuildFullFramework, monoBuildFullFramework);
|
||||
DeleteFiles(monoOutput + "/JackettService.*");
|
||||
DeleteFiles(monoOutput + "/JackettTray.*");
|
||||
|
||||
Information("Full framework file copy completed");
|
||||
});
|
||||
|
||||
Task("Check-Packaging-Platform")
|
||||
|
@ -104,7 +106,7 @@ Task("Check-Packaging-Platform")
|
|||
if (IsRunningOnWindows())
|
||||
{
|
||||
CreateDirectory("./" + artifactsDirName);
|
||||
Information(@"Platform is Windows");
|
||||
Information("Platform is Windows");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -150,7 +152,7 @@ Task("Package-Full-Framework")
|
|||
.IsDependentOn("Package-Files-Full-Framework-Mono")
|
||||
.Does(() =>
|
||||
{
|
||||
Information(@"Full Framwork Packaging Completed");
|
||||
Information("Full Framwork Packaging Completed");
|
||||
});
|
||||
|
||||
Task("Appveyor-Push-Artifacts")
|
||||
|
@ -170,7 +172,6 @@ Task("Appveyor-Push-Artifacts")
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
private void RunCygwinCommand(string utility, string utilityArguments)
|
||||
{
|
||||
var cygwinDir = @"C:\cygwin\bin\";
|
||||
|
@ -221,7 +222,11 @@ private string RelativeWinPathToCygPath(string relativePath)
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
Task("Default")
|
||||
.IsDependentOn("Appveyor-Push-Artifacts");
|
||||
.IsDependentOn("Appveyor-Push-Artifacts")
|
||||
.Does(() =>
|
||||
{
|
||||
Information("Default Task Completed");
|
||||
});
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// EXECUTION
|
||||
|
|
Loading…
Reference in New Issue