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