pkg(dotnet-5.0.201): fix builds

This commit is contained in:
Thomas Hobson 2021-03-20 15:57:29 +13:00
parent c01d8e1c55
commit cbe759ab56
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
2 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export DOTNET_CLI_HOME=$PWD export DOTNET_CLI_HOME=$PWD
export HOME=$PWD
dotnet build > /dev/null # Shut the thing up dotnet build --help > /dev/null # Shut the thing up
dotnet new console -o . --no-restore dotnet new console -o . --no-restore
rm Program.cs rm Program.cs
dotnet restore --source $DOTNET_ROOT/.nuget/packages dotnet restore --source $DOTNET_ROOT/.nuget/packages
dotnet build --no-restore
dotnet build -o . --no-restore

View File

@ -4,4 +4,4 @@
export DOTNET_CLI_HOME=$PWD export DOTNET_CLI_HOME=$PWD
shift shift
dotnet $(basename $(realpath .)).dll "$@" dotnet bin/Debug/net5.0/$(basename $(realpath .)).dll "$@"