Add Newman tool (#1185)

* Add Newman

* Move installation to NodeLts script on Windows
This commit is contained in:
Vladimir Safonkin
2020-07-07 08:37:15 +00:00
committed by GitHub
parent 8226c37bf4
commit 9ed8bbbc63
5 changed files with 19 additions and 2 deletions

View File

@@ -33,3 +33,4 @@ npm install -g --save-dev webpack webpack-cli
npm install -g yarn
npm install -g lerna
npm install -g node-sass
npm install -g newman

View File

@@ -35,3 +35,13 @@ else
Write-Host "lerna is not on path"
exit 1
}
if (Get-Command -Name 'newman')
{
Write-Host "Newman $(newman --version) is on the path."
}
else
{
Write-Host "Newman is not on the path."
exit 1
}

View File

@@ -78,6 +78,7 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-MySQLVersion),
(Get-MercurialVersion),
(Get-NSISVersion),
(Get-NewmanVersion),
(Get-OpenSSLVersion),
(Get-PackerVersion),
(Get-SQLPSVersion),

View File

@@ -206,4 +206,8 @@ function Get-StackVersion {
function Get-GoogleCloudSDKVersion {
(gcloud --version) -match "Google Cloud SDK"
}
function Get-NewmanVersion {
return "Newman $(newman --version)"
}