16 lines
484 B
Plaintext
16 lines
484 B
Plaintext
@{/*
|
|
|
|
k-restore
|
|
Restores nuget packages required for DNX projects. Downloads and executes DNX 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_DNU_RESTORE_OPTIONS") } ${ IsLinux ? string.Empty : "--parallel" }'
|
|
|
|
dnu command='restore${ restore_options }' workingDir='${ restoreDir }'
|