16 lines
458 B
Plaintext
16 lines
458 B
Plaintext
@{/*
|
|
|
|
dotnet-restore
|
|
Restores nuget packages required for dotnet projects. Downloads and executes dotnet sdk tools.
|
|
|
|
restoreDir=''
|
|
Optional. The directory in which to execute the dnu restore command.
|
|
*/}
|
|
|
|
default currentDir = '${ Directory.GetCurrentDirectory() }'
|
|
default restoreDir = '${ currentDir }'
|
|
|
|
default restore_options=' ${ E("KOREBUILD_DOTNET_RESTORE_OPTIONS") }'
|
|
|
|
dotnet command='restore${ restore_options }' workingDir='${ restoreDir }'
|