[MacOS] Add ImageMagick (#5445)

This commit is contained in:
Zoran Bjelica
2022-05-02 12:05:31 +03:00
committed by GitHub
parent 9d80842cc3
commit 8573385d4c
6 changed files with 19 additions and 4 deletions
@@ -547,6 +547,11 @@ function Get-YqVersion {
return "$yqVersion" return "$yqVersion"
} }
function Get-ImageMagickVersion {
$imagemagickVersion = Run-Command "magick --version" | Select-Object -First 1 | Take-Part -Part 1,2
return "$imagemagickVersion"
}
function Build-PackageManagementEnvironmentTable { function Build-PackageManagementEnvironmentTable {
return @( return @(
@{ @{
@@ -123,7 +123,8 @@ $utilitiesList = @(
(Get-GPGVersion), (Get-GPGVersion),
(Get-SwitchAudioOsxVersion), (Get-SwitchAudioOsxVersion),
(Get-SoxVersion), (Get-SoxVersion),
(Get-YqVersion) (Get-YqVersion),
(Get-ImageMagickVersion)
) )
if ($os.IsLessThanMonterey) { if ($os.IsLessThanMonterey) {
+6
View File
@@ -187,3 +187,9 @@ Describe "yq" {
"yq --version" | Should -ReturnZeroExitCode "yq --version" | Should -ReturnZeroExitCode
} }
} }
Describe "imagemagick" {
It "imagemagick" {
"magick -version" | Should -ReturnZeroExitCode
}
}
+2 -1
View File
@@ -224,7 +224,8 @@
"libxext", "libxext",
"libxft", "libxft",
"tcl-tk", "tcl-tk",
"yq" "yq",
"imagemagick"
], ],
"cask_packages": [ "cask_packages": [
"julia", "julia",
+2 -1
View File
@@ -213,7 +213,8 @@
"libxft", "libxft",
"tcl-tk", "tcl-tk",
"r", "r",
"yq" "yq",
"imagemagick"
], ],
"cask_packages": [ "cask_packages": [
"julia" "julia"
+2 -1
View File
@@ -135,7 +135,8 @@
"libxft", "libxft",
"tcl-tk", "tcl-tk",
"r", "r",
"yq" "yq",
"imagemagick"
], ],
"cask_packages": [ "cask_packages": [
"julia" "julia"