pkg(dotnet-5.0.201): fix builds
This commit is contained in:
parent
c01d8e1c55
commit
cbe759ab56
|
@ -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
|
|
|
@ -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 "$@"
|
Loading…
Reference in New Issue