Allow nuget packages to be configured
This commit is contained in:
parent
ed145b37a6
commit
54df3398ea
2 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,9 @@ if($Help)
|
|||
|
||||
$env:CONFIGURATION = $Configuration;
|
||||
$RepoRoot = "$PSScriptRoot"
|
||||
$env:NUGET_PACKAGES = "$RepoRoot\.nuget\packages"
|
||||
if(!$env:NUGET_PACKAGES){
|
||||
$env:NUGET_PACKAGES = "$RepoRoot\.nuget\packages"
|
||||
}
|
||||
|
||||
if($NoPackage)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ LINUX_PORTABLE_INSTALL_ARGS=
|
|||
CUSTOM_BUILD_ARGS=
|
||||
|
||||
# Set nuget package cache under the repo
|
||||
export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
|
||||
[ -z $NUGET_PACKAGES ] && export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
|
||||
|
||||
args=( "$@" )
|
||||
|
||||
|
|
Loading…
Reference in a new issue