[MacOS] Add ImageMagick (#5445)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -187,3 +187,9 @@ Describe "yq" {
|
|||||||
"yq --version" | Should -ReturnZeroExitCode
|
"yq --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Describe "imagemagick" {
|
||||||
|
It "imagemagick" {
|
||||||
|
"magick -version" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -224,7 +224,8 @@
|
|||||||
"libxext",
|
"libxext",
|
||||||
"libxft",
|
"libxft",
|
||||||
"tcl-tk",
|
"tcl-tk",
|
||||||
"yq"
|
"yq",
|
||||||
|
"imagemagick"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia",
|
"julia",
|
||||||
|
|||||||
@@ -213,7 +213,8 @@
|
|||||||
"libxft",
|
"libxft",
|
||||||
"tcl-tk",
|
"tcl-tk",
|
||||||
"r",
|
"r",
|
||||||
"yq"
|
"yq",
|
||||||
|
"imagemagick"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
@@ -135,7 +135,8 @@
|
|||||||
"libxft",
|
"libxft",
|
||||||
"tcl-tk",
|
"tcl-tk",
|
||||||
"r",
|
"r",
|
||||||
"yq"
|
"yq",
|
||||||
|
"imagemagick"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
"julia"
|
"julia"
|
||||||
|
|||||||
Reference in New Issue
Block a user