Updated Nuke
This commit is contained in:
Родитель
7c7d814e21
Коммит
090fb55b39
1
.nuke
1
.nuke
|
@ -0,0 +1 @@
|
|||
MicroStationTagExplorer.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("MicroStationTagExplorer.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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче