[MacOS] Add ImageMagick (#5445)

This commit is contained in:
Zoran Bjelica
2022-05-02 11:05:31 +02:00
committed by GitHub
parent 9d80842cc3
commit 8573385d4c
6 changed files with 19 additions and 4 deletions

View File

@@ -547,6 +547,11 @@ function Get-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 {
return @(
@{

View File

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

View File

@@ -187,3 +187,9 @@ Describe "yq" {
"yq --version" | Should -ReturnZeroExitCode
}
}
Describe "imagemagick" {
It "imagemagick" {
"magick -version" | Should -ReturnZeroExitCode
}
}

View File

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

View File

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

View File

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