mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Misc build updates
This commit is contained in:
parent
4d8ace968f
commit
7ce9ea09e6
6 changed files with 8 additions and 6 deletions
|
@ -1 +1 @@
|
||||||
3.1.100
|
3.1.101
|
|
@ -326,6 +326,7 @@ namespace LibHacBuild
|
||||||
.After(Compile)
|
.After(Compile)
|
||||||
.Executes(BuildNative);
|
.Executes(BuildNative);
|
||||||
|
|
||||||
|
// ReSharper disable once UnusedMember.Local
|
||||||
Target AppVeyorBuild => _ => _
|
Target AppVeyorBuild => _ => _
|
||||||
.DependsOn(Zip, Native, Publish)
|
.DependsOn(Zip, Native, Publish)
|
||||||
.Unlisted()
|
.Unlisted()
|
||||||
|
@ -335,6 +336,7 @@ namespace LibHacBuild
|
||||||
.DependsOn(Test, Zip)
|
.DependsOn(Test, Zip)
|
||||||
.Executes(PrintResults);
|
.Executes(PrintResults);
|
||||||
|
|
||||||
|
// ReSharper disable once UnusedMember.Local
|
||||||
Target Full => _ => _
|
Target Full => _ => _
|
||||||
.DependsOn(Sign, Native)
|
.DependsOn(Sign, Native)
|
||||||
.Executes(PrintResults);
|
.Executes(PrintResults);
|
||||||
|
@ -372,7 +374,7 @@ namespace LibHacBuild
|
||||||
|
|
||||||
if (EnvironmentInfo.IsUnix && !Untrimmed)
|
if (EnvironmentInfo.IsUnix && !Untrimmed)
|
||||||
{
|
{
|
||||||
File.Copy(CliNativeExe, CliNativeExe + "_unstripped");
|
File.Copy(CliNativeExe, CliNativeExe + "_unstripped", true);
|
||||||
ProcessTasks.StartProcess("strip", CliNativeExe).AssertZeroExitCode();
|
ProcessTasks.StartProcess("strip", CliNativeExe).AssertZeroExitCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@ using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using ICSharpCode.SharpZipLib.Zip;
|
using ICSharpCode.SharpZipLib.Zip;
|
||||||
|
using Nuke.Common.IO;
|
||||||
using Nuke.Common.Tools.NuGet;
|
using Nuke.Common.Tools.NuGet;
|
||||||
using static Nuke.Common.IO.FileSystemTasks;
|
using static Nuke.Common.IO.FileSystemTasks;
|
||||||
using static Nuke.Common.IO.PathConstruction;
|
|
||||||
|
|
||||||
namespace LibHacBuild
|
namespace LibHacBuild
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<PackageDownload Include="GitVersion.Tool" Version="[5.1.3]" />
|
<PackageDownload Include="GitVersion.Tool" Version="[5.1.3]" />
|
||||||
<PackageReference Include="CsvHelper" Version="15.0.0" />
|
<PackageReference Include="CsvHelper" Version="15.0.0" />
|
||||||
<PackageReference Include="NuGet.CommandLine" Version="5.4.0" />
|
<PackageReference Include="NuGet.CommandLine" Version="5.4.0" />
|
||||||
<PackageReference Include="Nuke.Common" Version="0.23.4" />
|
<PackageReference Include="Nuke.Common" Version="0.24.2" />
|
||||||
<PackageReference Include="SharpZipLib" Version="1.2.0" />
|
<PackageReference Include="SharpZipLib" Version="1.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
|
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition=" $(BuildType.StartsWith('native')) and '$(BuildType)' != 'native-untrimmed' ">
|
<ItemGroup Condition=" $(BuildType.StartsWith('native')) and '$(OS)' == 'Windows_NT' and '$(BuildType)' != 'native-untrimmed' ">
|
||||||
<IlcArg Include="--removefeature:EventSource" />
|
<IlcArg Include="--removefeature:EventSource" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||||
<PackageReference Include="xunit.core" Version="2.4.1" />
|
<PackageReference Include="xunit.core" Version="2.4.1" />
|
||||||
<PackageReference Include="xunit.analyzers" Version="0.10.0" />
|
<PackageReference Include="xunit.analyzers" Version="0.10.0" />
|
||||||
<PackageReference Include="xunit.assert.source" Version="2.4.1" />
|
<PackageReference Include="xunit.assert.source" Version="2.4.1" />
|
||||||
|
|
Loading…
Reference in a new issue