Updated nuke
This commit is contained in:
parent
621d941373
commit
9968888362
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Nuke.Common;
|
using Nuke.Common;
|
||||||
|
using Nuke.Common.CI.AppVeyor;
|
||||||
using Nuke.Common.Git;
|
using Nuke.Common.Git;
|
||||||
using Nuke.Common.ProjectModel;
|
using Nuke.Common.ProjectModel;
|
||||||
using Nuke.Common.Tools.GitVersion;
|
using Nuke.Common.Tools.GitVersion;
|
||||||
@ -43,9 +44,9 @@ class Build : NukeBuild
|
|||||||
.SetTargetPath(Solution)
|
.SetTargetPath(Solution)
|
||||||
.SetTargets("Rebuild")
|
.SetTargets("Rebuild")
|
||||||
.SetConfiguration(Configuration)
|
.SetConfiguration(Configuration)
|
||||||
.SetAssemblyVersion(GitVersion.GetNormalizedAssemblyVersion())
|
.SetAssemblyVersion(AppVeyor.Instance.BuildVersion)
|
||||||
.SetFileVersion(GitVersion.GetNormalizedFileVersion())
|
.SetFileVersion(AppVeyor.Instance.BuildVersion)
|
||||||
.SetInformationalVersion(GitVersion.InformationalVersion)
|
.SetInformationalVersion(AppVeyor.Instance.BuildVersion)
|
||||||
.SetMaxCpuCount(Environment.ProcessorCount)
|
.SetMaxCpuCount(Environment.ProcessorCount)
|
||||||
.SetNodeReuse(IsLocalBuild));
|
.SetNodeReuse(IsLocalBuild));
|
||||||
});
|
});
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
<RootNamespace></RootNamespace>
|
<RootNamespace></RootNamespace>
|
||||||
<IsPackable>False</IsPackable>
|
<IsPackable>False</IsPackable>
|
||||||
@ -10,8 +10,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Nuke.Common" Version="0.12.1" />
|
<PackageReference Include="Nuke.Common" Version="0.23.4" />
|
||||||
<PackageReference Include="GitVersion.CommandLine.DotNetCore" Version="4.0.1-beta1-49" />
|
<PackageReference Include="GitVersion.CommandLine.DotNetCore" Version="5.0.1">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user