mirror of
https://github.com/frosch95/K8sFileBrowser.git
synced 2026-04-11 12:58:22 +02:00
fixed nuke build
This commit is contained in:
@@ -12,7 +12,7 @@ class Build : NukeBuild
|
||||
[Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")]
|
||||
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;
|
||||
|
||||
[Parameter] readonly string Version = "1.0.0";
|
||||
[Parameter] readonly string Version = "1.4.0";
|
||||
|
||||
AbsolutePath SourceDirectory => RootDirectory / "K8sFileBrowser";
|
||||
AbsolutePath OutputDirectory => RootDirectory / "output";
|
||||
@@ -47,7 +47,7 @@ class Build : NukeBuild
|
||||
.SetConfiguration(Configuration)
|
||||
.SetOutput(WinOutputDirectory)
|
||||
.EnableSelfContained()
|
||||
.SetFramework("net7.0")
|
||||
.SetFramework("net8.0")
|
||||
.SetRuntime("win-x64")
|
||||
.EnablePublishSingleFile()
|
||||
.EnablePublishReadyToRun()
|
||||
@@ -73,7 +73,7 @@ class Build : NukeBuild
|
||||
.SetConfiguration(Configuration)
|
||||
.SetOutput(LinuxOutputDirectory)
|
||||
.EnableSelfContained()
|
||||
.SetFramework("net7.0")
|
||||
.SetFramework("net8.0")
|
||||
.SetRuntime("linux-x64")
|
||||
.EnablePublishSingleFile()
|
||||
.EnablePublishReadyToRun()
|
||||
@@ -98,7 +98,7 @@ class Build : NukeBuild
|
||||
.SetConfiguration(Configuration)
|
||||
.SetOutput(OsxOutputDirectory)
|
||||
.EnableSelfContained()
|
||||
.SetFramework("net7.0")
|
||||
.SetFramework("net8.0")
|
||||
.SetRuntime("osx-arm64")
|
||||
.EnablePublishSingleFile()
|
||||
.EnablePublishReadyToRun()
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<RootNamespace></RootNamespace>
|
||||
<NoWarn>CS0649;CS0169</NoWarn>
|
||||
<NukeRootDirectory>..</NukeRootDirectory>
|
||||
@@ -11,7 +11,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Nuke.Common" Version="9.0.4" />
|
||||
<PackageReference Include="Nuke.Common" Version="8.1.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user