Swap to using the main `csproj`, and rename the binary to `sabretools`
This commit is contained in:
parent
dc83e9ca00
commit
a609e36403
|
@ -0,0 +1,12 @@
|
|||
diff --git a/SabreTools/SabreTools.csproj b/SabreTools/SabreTools.csproj
|
||||
index 9adc4c7a..cb15305b 100644
|
||||
--- a/SabreTools/SabreTools.csproj
|
||||
+++ b/SabreTools/SabreTools.csproj
|
||||
@@ -10,6 +10,7 @@
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
||||
+ <TargetName>sabretools</TargetName>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Version>1.1.2</Version>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{ lib,
|
||||
{
|
||||
lib,
|
||||
buildDotnetModule,
|
||||
dotnetCorePackages,
|
||||
fetchFromGitHub
|
||||
|
@ -20,11 +21,15 @@ buildDotnetModule {
|
|||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
||||
nugetDeps = ./deps.nix;
|
||||
projectFile = "SabreTools.sln";
|
||||
# projectFile = "SabreTools/SabreTools.csproj";
|
||||
# projectFile = "SabreTools.sln";
|
||||
projectFile = "SabreTools/SabreTools.csproj";
|
||||
dotnetBuildFlags = [ "--framework net8.0" ];
|
||||
dotnetInstallFlags = [ "--framework net8.0" ];
|
||||
|
||||
postFixup = ''
|
||||
mv $out/bin/SabreTools $out/bin/sabretools
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "DAT management tool with advanced editing and sorting features";
|
||||
homepage = "https://github.com/SabreTools/SabreTools";
|
||||
|
|
Loading…
Reference in New Issue