mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-26 03:37:35 -05:00
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.
11 lines
170 B
Bash
Executable File
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
|