Adding directory existence check for nuget-install

This commit is contained in:
John Luo 2015-11-28 17:22:58 -08:00
parent 64fa41457b
commit 5ed05d34ac
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
}
}
#nuget-install target='install' description='Install NuGet packages to local repo'
#nuget-install target='install' if='Directory.Exists("src")' description='Install NuGet packages to local repo'
kpm-publish sourcePackagesDir='${BUILD_DIR}' targetPackagesDir='${E("PACKAGES_PUBLISH_DIR")}'
nuget-resilient-publish sourcePackagesDir='${BUILD_DIR}' nugetFeed='${E("NUGET_PUBLISH_FEED")}' if='!string.IsNullOrEmpty(E("NUGET_PUBLISH_FEED"))'