setup for nuget
This commit is contained in:
parent
c4dcca8971
commit
4298f04f1b
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,3 +5,5 @@ SessionZero.SzfCli/obj
|
||||
|
||||
SessionZero.SzfLib/bin
|
||||
SessionZero.SzfLib/obj
|
||||
|
||||
publish-lib-nuget.sh
|
@ -77,6 +77,6 @@ try
|
||||
}
|
||||
catch (SzfError ex)
|
||||
{
|
||||
Console.WriteLine($"Szf Validation Error: {ex.Message}");
|
||||
AnsiConsole.MarkupLine($"[bold][red]Szf Validation Error:[/][/]\r\n{ex.Message}");
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,6 @@ public class SzfDataset : SzfObject, ISzfDataset
|
||||
{
|
||||
public override string SzfType { get; set; } = "dataset";
|
||||
|
||||
|
||||
public override SzfError Validate()
|
||||
{
|
||||
var result = SzfHelper.BasicSzfValidation(this);
|
||||
|
@ -79,8 +79,6 @@ public class SzfParser : ISzfParser
|
||||
result = szfObject.Validate();
|
||||
|
||||
if (result.IsValid) return szfObject;
|
||||
|
||||
Console.WriteLine(result.Message);
|
||||
}
|
||||
|
||||
throw result;
|
||||
|
1
SessionZero.SzfLib/README.md
Normal file
1
SessionZero.SzfLib/README.md
Normal file
@ -0,0 +1 @@
|
||||
# SessionZero SZFLib
|
@ -4,6 +4,22 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Title>Session Zero SZFLib</Title>
|
||||
<Description>An extendable library for handling SessionZero SZF data including Parsing and Generating.</Description>
|
||||
<Copyright>2025 Bellsworne LLC</Copyright>
|
||||
<PackageProjectUrl>https://git.bellsworne.tech/Bellsworne/SessionZero.SzfToolkit-Dotnet.git</PackageProjectUrl>
|
||||
<PackageLicenseUrl>https://git.bellsworne.tech/Bellsworne/SessionZero.SzfToolkit-Dotnet/src/branch/master/LICENSE</PackageLicenseUrl>
|
||||
<RepositoryUrl>https://git.bellsworne.tech/Bellsworne/SessionZero.SzfToolkit-Dotnet.git</RepositoryUrl>
|
||||
<RepositoryType>Git</RepositoryType>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<PackageIcon>logo_500x500.png</PackageIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="logo_500x500.png">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user