mirror of
https://github.com/Jackett/Jackett
synced 2025-02-13 10:04:54 +00:00
Build .NET Core
This commit is contained in:
parent
ef162f07e5
commit
3999e76ae8
1 changed files with 9 additions and 9 deletions
18
build.cake
18
build.cake
|
@ -154,21 +154,21 @@ Task("Experimental-DotNetCore")
|
||||||
{
|
{
|
||||||
string serverProjectPath = "./src/Jackett.Server/Jackett.Server.csproj";
|
string serverProjectPath = "./src/Jackett.Server/Jackett.Server.csproj";
|
||||||
|
|
||||||
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "win-x86");
|
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "win-x86");
|
||||||
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "osx-x64");
|
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "osx-x64");
|
||||||
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "linux-x64");
|
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "linux-x64");
|
||||||
DotNetCorePublish(serverProjectPath, "netcoreapp2.1", "linux-arm");
|
DotNetCorePublish(serverProjectPath, "netcoreapp2.2", "linux-arm");
|
||||||
|
|
||||||
Zip("./BuildOutput/Experimental/netcoreapp2.1/win-x86", $"./{artifactsDirName}/Experimental.netcoreapp.win-x86.zip");
|
Zip("./BuildOutput/Experimental/netcoreapp2.2/win-x86", $"./{artifactsDirName}/Experimental.netcoreapp.win-x86.zip");
|
||||||
Zip("./BuildOutput/Experimental/netcoreapp2.1/osx-x64", $"./{artifactsDirName}/Experimental.netcoreapp.osx-x64.zip");
|
Zip("./BuildOutput/Experimental/netcoreapp2.2/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.2/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");
|
Gzip("./BuildOutput/Experimental/netcoreapp2.2/linux-arm", $"./{artifactsDirName}", "Jackett", "Experimental.netcoreapp.linux-arm.tar.gz");
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("Package")
|
Task("Package")
|
||||||
.IsDependentOn("Package-Windows-Full-Framework")
|
.IsDependentOn("Package-Windows-Full-Framework")
|
||||||
.IsDependentOn("Package-Mono-Full-Framework")
|
.IsDependentOn("Package-Mono-Full-Framework")
|
||||||
//.IsDependentOn("Experimental-DotNetCore")
|
.IsDependentOn("Experimental-DotNetCore")
|
||||||
.Does(() =>
|
.Does(() =>
|
||||||
{
|
{
|
||||||
Information("Packaging completed");
|
Information("Packaging completed");
|
||||||
|
|
Loading…
Reference in a new issue