mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
pkg(dotnet-5.0.201): Nuget caching
This commit is contained in:
parent
7ad8f337bc
commit
91018d6d85
4 changed files with 20 additions and 3 deletions
11
packages/dotnet/5.0.201/compile
vendored
11
packages/dotnet/5.0.201/compile
vendored
|
@ -1,5 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
dotnet new console
|
||||
export DOTNET_CLI_HOME=$PWD
|
||||
|
||||
dotnet build > /dev/null # Shut the thing up
|
||||
|
||||
dotnet new console -o . --no-restore
|
||||
rm Program.cs
|
||||
dotnet build -o .
|
||||
|
||||
dotnet restore --source $DOTNET_ROOT/.nuget/packages
|
||||
|
||||
dotnet build -o . --no-restore
|
Loading…
Add table
Add a link
Reference in a new issue