[MacOS] Add YQ tool to macOS images(#5144) (#5173)

* Update toolset-10.15.json

* Update toolset-11.json

* Added Pester test and documentation update for YQ tool.

* Change YQ version to full description with URL.

* Add YQ to MacOS 12
This commit is contained in:
Igor Boskovic
2022-03-23 11:20:36 +01:00
committed by GitHub
parent af8332e66d
commit f439d173c2
6 changed files with 20 additions and 5 deletions

View File

@@ -542,6 +542,11 @@ function Get-TclTkVersion {
return "Tcl/Tk $tcltkVersion" return "Tcl/Tk $tcltkVersion"
} }
function Get-YqVersion {
$yqVersion = Run-Command "yq --version"
return "$yqVersion"
}
function Build-PackageManagementEnvironmentTable { function Build-PackageManagementEnvironmentTable {
return @( return @(
@{ @{

View File

@@ -122,7 +122,8 @@ $utilitiesList = @(
(Get-GnuTarVersion), (Get-GnuTarVersion),
(Get-GPGVersion), (Get-GPGVersion),
(Get-SwitchAudioOsxVersion), (Get-SwitchAudioOsxVersion),
(Get-SoxVersion) (Get-SoxVersion),
(Get-YqVersion)
) )
if ($os.IsLessThanMonterey) { if ($os.IsLessThanMonterey) {

View File

@@ -181,3 +181,9 @@ Describe "sbt" {
"sbt -version" | Should -ReturnZeroExitCode "sbt -version" | Should -ReturnZeroExitCode
} }
} }
Describe "yq" {
It "yq" {
"yq --version" | Should -ReturnZeroExitCode
}
}

View File

@@ -228,7 +228,8 @@
"zlib", "zlib",
"libxext", "libxext",
"libxft", "libxft",
"tcl-tk" "tcl-tk",
"yq"
], ],
"cask_packages": [ "cask_packages": [
"julia", "julia",

View File

@@ -203,7 +203,8 @@
"libxext", "libxext",
"libxft", "libxft",
"tcl-tk", "tcl-tk",
"r" "r",
"yq"
], ],
"cask_packages": [ "cask_packages": [
"julia" "julia"

View File

@@ -119,7 +119,8 @@
"libxext", "libxext",
"libxft", "libxft",
"tcl-tk", "tcl-tk",
"r" "r",
"yq"
], ],
"cask_packages": [ "cask_packages": [
"julia" "julia"