dotnet add cs extension

This commit is contained in:
Thomas Hobson 2021-04-24 19:44:50 +12:00
parent c6e78fa073
commit f72c51d614
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 3 additions and 0 deletions

View File

@ -3,10 +3,13 @@
export DOTNET_CLI_HOME=$PWD
export HOME=$PWD
rename 's/$/\.cs/' "$@" # Add .cs extension
dotnet build --help > /dev/null # Shut the thing up
dotnet new console -o . --no-restore
rm Program.cs
dotnet restore --source $DOTNET_ROOT/.nuget/packages
dotnet build --no-restore