mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Update build dependencies
This commit is contained in:
parent
61c66bc979
commit
5a4b56efad
4 changed files with 15 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
mode: ContinuousDeployment
|
||||
increment: Patch
|
||||
next-version: 0.4.0
|
||||
branches:
|
||||
master:
|
||||
tag: alpha
|
|
@ -1 +1 @@
|
|||
powershell -ExecutionPolicy Bypass -NoProfile -File .\build.ps1 -configuration Release
|
||||
powershell -ExecutionPolicy Bypass -NoProfile -File .\build.ps1 -configuration Release %*
|
|
@ -11,6 +11,7 @@ using ILRepacking;
|
|||
using Nuke.Common;
|
||||
using Nuke.Common.BuildServers;
|
||||
using Nuke.Common.Git;
|
||||
using Nuke.Common.IO;
|
||||
using Nuke.Common.ProjectModel;
|
||||
using Nuke.Common.Tools.DotNet;
|
||||
using Nuke.Common.Tools.GitVersion;
|
||||
|
@ -95,8 +96,14 @@ namespace LibHacBuild
|
|||
Target Clean => _ => _
|
||||
.Executes(() =>
|
||||
{
|
||||
DeleteDirectories(GlobDirectories(SourceDirectory, "**/bin", "**/obj"));
|
||||
DeleteDirectories(GlobDirectories(TestsDirectory, "**/bin", "**/obj"));
|
||||
List<string> toDelete = GlobDirectories(SourceDirectory, "**/bin", "**/obj")
|
||||
.Concat(GlobDirectories(TestsDirectory, "**/bin", "**/obj")).ToList();
|
||||
|
||||
foreach (string dir in toDelete)
|
||||
{
|
||||
DeleteDirectory(dir);
|
||||
}
|
||||
|
||||
EnsureCleanDirectory(ArtifactsDirectory);
|
||||
EnsureCleanDirectory(CliCoreDir);
|
||||
EnsureCleanDirectory(CliFrameworkDir);
|
||||
|
@ -262,7 +269,7 @@ namespace LibHacBuild
|
|||
Target Publish => _ => _
|
||||
.DependsOn(Test)
|
||||
.OnlyWhenStatic(() => Host == HostType.AppVeyor)
|
||||
.OnlyWhenStatic(() => AppVeyor.Instance.PullRequestTitle == null)
|
||||
.OnlyWhenStatic(() => AppVeyor.Instance != null && AppVeyor.Instance.PullRequestTitle == null)
|
||||
.Executes(() =>
|
||||
{
|
||||
AbsolutePath nupkgFile = ArtifactsDirectory.GlobFiles("*.nupkg").Single();
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GitVersion.CommandLine.DotNetCore" Version="4.0.0" />
|
||||
<PackageReference Include="ILRepack.Lib" Version="2.0.16" NoWarn="NU1701" />
|
||||
<PackageReference Include="NuGet.CommandLine" Version="4.9.3" />
|
||||
<PackageReference Include="Nuke.Common" Version="0.16.0" />
|
||||
<PackageReference Include="ILRepack.Lib" Version="2.0.17" NoWarn="NU1701" />
|
||||
<PackageReference Include="NuGet.CommandLine" Version="5.0.2" />
|
||||
<PackageReference Include="Nuke.Common" Version="0.20.0" />
|
||||
<PackageReference Include="SharpZipLib" Version="1.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Loading…
Reference in a new issue