piston/packages/dotnet/5.0.201/compile

12 lines
232 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2021-03-20 03:17:55 +01:00
export DOTNET_CLI_HOME=$PWD
dotnet build > /dev/null # Shut the thing up
dotnet new console -o . --no-restore
rm Program.cs
2021-03-20 03:17:55 +01:00
dotnet restore --source $DOTNET_ROOT/.nuget/packages
dotnet build -o . --no-restore