Added Nuget feed and renamed packagelist json

This commit is contained in:
Ajay Bhargav Baaskaran 2015-09-09 11:51:16 -07:00
parent 864cc39ce2
commit a0d51b9c2f
1 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,9 @@ default BUILD_DIR='${Path.Combine(TARGET_DIR, "build")}'
default TEST_DIR='${Path.Combine(TARGET_DIR, "test")}'
default Configuration='${E("Configuration")}'
default Quiet='${ false }'
default PACKAGELIST_JSON_FILENAME = 'packages.json'
default PACKAGELIST_JSON_FILENAME = 'NuGetPackageVerifier.json'
default DNX_TOOLS_FEED = 'https://www.myget.org/F/dnxtools/api/v2'
default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
@{
if (string.IsNullOrEmpty(E("DNX_BUILD_VERSION")))
@ -216,7 +217,7 @@ default DNX_TOOLS_FEED = 'https://www.myget.org/F/dnxtools/api/v2'
#nuget-verify target='test' if='File.Exists(PACKAGELIST_JSON_FILENAME) && ShouldVerifyNupkgs' description='Verify if all the packages are generated properly'
var commandsDirectory = '${Path.Combine(BASE_DIR, "commands")}'
exec program='cmd' commandline='/C dnu commands install --source ${DNX_TOOLS_FEED} NuGetPackageVerifier --packages "${commandsDirectory}"'
exec program='cmd' commandline='/C dnu commands install --source ${DNX_TOOLS_FEED} --source ${NUGET_FEED} NuGetPackageVerifier --packages "${commandsDirectory}"'
exec program='cmd' commandline='/C ${Path.Combine(commandsDirectory, "nugetverify")} "${BUILD_DIR}" "${Path.Combine(BASE_DIR, PACKAGELIST_JSON_FILENAME)}"'
@{
if (Directory.Exists(commandsDirectory))