Updated Nuke
This commit is contained in:
Родитель
6a2cf84327
Коммит
82025d85d9
1
.nuke
1
.nuke
|
@ -0,0 +1 @@
|
|||
SimpleWavSplitter.sln
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Nuke.Common;
|
||||
using Nuke.Common.Git;
|
||||
|
@ -13,7 +14,7 @@ class Build : NukeBuild
|
|||
{
|
||||
public static int Main() => Execute<Build>(x => x.Compile);
|
||||
|
||||
[Solution("SimpleWavSplitter.sln")]
|
||||
[Solution]
|
||||
readonly Solution Solution;
|
||||
|
||||
[GitRepository]
|
||||
|
@ -46,6 +47,14 @@ class Build : NukeBuild
|
|||
VersionSuffix = VersionSuffix ?? "";
|
||||
}
|
||||
|
||||
private void DeleteDirectories(IReadOnlyCollection<string> directories)
|
||||
{
|
||||
foreach (var directory in directories)
|
||||
{
|
||||
DeleteDirectory(directory);
|
||||
}
|
||||
}
|
||||
|
||||
Target Clean => _ => _
|
||||
.Executes(() =>
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Nuke.Common" Version="0.16.0" />
|
||||
<PackageReference Include="Nuke.Common" Version="0.18.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче