Files
astronomy/source/csharp/pack
Don Cross f3b273a973 First attempt at C# NuGet package.
https://www.nuget.org/packages/CosineKitty.AstronomyEngine/2.1.2

This is my first attempt at publishing a NuGet package.
I have never done this before, so I'm not sure it is going to work.
Changed astronomy.csproj to target netstandard2.0, which still
works fine with all my net6.0 unit tests.
2022-06-04 22:01:36 -04:00

11 lines
170 B
Bash
Executable File

#!/bin/bash
Fail()
{
echo "FATAL($0): $1"
exit 1
}
rm -rf nuget
dotnet pack --configuration=Release --output nuget astronomy.csproj || Fail "dotnet pack"
exit 0