Added Nuget feed and renamed packagelist json
This commit is contained in:
parent
864cc39ce2
commit
a0d51b9c2f
|
|
@ -14,8 +14,9 @@ default BUILD_DIR='${Path.Combine(TARGET_DIR, "build")}'
|
||||||
default TEST_DIR='${Path.Combine(TARGET_DIR, "test")}'
|
default TEST_DIR='${Path.Combine(TARGET_DIR, "test")}'
|
||||||
default Configuration='${E("Configuration")}'
|
default Configuration='${E("Configuration")}'
|
||||||
default Quiet='${ false }'
|
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 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")))
|
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'
|
#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")}'
|
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)}"'
|
exec program='cmd' commandline='/C ${Path.Combine(commandsDirectory, "nugetverify")} "${BUILD_DIR}" "${Path.Combine(BASE_DIR, PACKAGELIST_JSON_FILENAME)}"'
|
||||||
@{
|
@{
|
||||||
if (Directory.Exists(commandsDirectory))
|
if (Directory.Exists(commandsDirectory))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue