1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-08 15:44:53 +00:00

Build .NET Core

This commit is contained in:
flightlevel 2018-12-23 22:12:19 +11:00
parent ef162f07e5
commit 3999e76ae8

View file

@ -154,21 +154,21 @@ Task("Experimental-DotNetCore")
{
string serverProjectPath = "./src/Jackett.Server/Jackett.Server.csproj";
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "win-x86");
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "osx-x64");
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "linux-x64");
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "linux-arm");
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "win-x86");
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "osx-x64");
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "linux-x64");
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "linux-arm");
Zip("./BuildOutput/Experimental/netcoreapp2.1/win-x86", $"./{artifactsDirName}/Experimental.netcoreapp.win-x86.zip");
Zip("./BuildOutput/Experimental/netcoreapp2.1/osx-x64", $"./{artifactsDirName}/Experimental.netcoreapp.osx-x64.zip");
Gzip("./BuildOutput/Experimental/netcoreapp2.1/linux-x64", $"./{artifactsDirName}", "Jackett", "Experimental.netcoreapp.linux-x64.tar.gz");
Gzip("./BuildOutput/Experimental/netcoreapp2.1/linux-arm", $"./{artifactsDirName}", "Jackett", "Experimental.netcoreapp.linux-arm.tar.gz");
Zip("./BuildOutput/Experimental/netcoreapp2.2/win-x86", $"./{artifactsDirName}/Experimental.netcoreapp.win-x86.zip");
Zip("./BuildOutput/Experimental/netcoreapp2.2/osx-x64", $"./{artifactsDirName}/Experimental.netcoreapp.osx-x64.zip");
Gzip("./BuildOutput/Experimental/netcoreapp2.2/linux-x64", $"./{artifactsDirName}", "Jackett", "Experimental.netcoreapp.linux-x64.tar.gz");
Gzip("./BuildOutput/Experimental/netcoreapp2.2/linux-arm", $"./{artifactsDirName}", "Jackett", "Experimental.netcoreapp.linux-arm.tar.gz");
});
Task("Package")
.IsDependentOn("Package-Windows-Full-Framework")
.IsDependentOn("Package-Mono-Full-Framework")
//.IsDependentOn("Experimental-DotNetCore")
.IsDependentOn("Experimental-DotNetCore")
.Does(() =>
{
Information("Packaging completed");