2023-05-12 13:30:13 +02:00
|
|
|
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
2023-12-04 12:13:08 +01:00
|
|
|
|
2021-01-29 16:37:48 +07:00
|
|
|
$os = Get-OSVersion
|
|
|
|
|
|
2024-08-09 11:25:15 +02:00
|
|
|
Describe "Azure CLI" {
|
2021-09-10 16:15:45 +03:00
|
|
|
It "Azure CLI" {
|
|
|
|
|
"az -v" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-09 11:25:15 +02:00
|
|
|
Describe "Azure DevOps CLI" {
|
2022-02-11 12:53:36 +03:00
|
|
|
It "az devops" {
|
|
|
|
|
"az devops -h" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-02 18:35:56 +03:00
|
|
|
Describe "Carthage" {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "Carthage" {
|
|
|
|
|
"carthage version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "cmake" {
|
|
|
|
|
It "cmake" {
|
|
|
|
|
"cmake --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "Subversion" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "Subversion" {
|
|
|
|
|
"svn --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-06 09:15:33 +02:00
|
|
|
Describe "SwiftFormat" {
|
2021-04-14 10:22:41 +03:00
|
|
|
It "SwiftFormat" {
|
|
|
|
|
"swiftformat --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-02 18:35:56 +03:00
|
|
|
Describe "GnuPG" {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "GnuPG" {
|
|
|
|
|
"gpg --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "zstd" {
|
|
|
|
|
It "zstd" {
|
|
|
|
|
"zstd --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "Packer" {
|
|
|
|
|
It "Packer" {
|
|
|
|
|
"packer --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "Perl" {
|
|
|
|
|
It "Perl" {
|
|
|
|
|
"perl -e 'print substr($^V,1)'" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-26 11:28:45 +02:00
|
|
|
Describe "Tcl/Tk" {
|
|
|
|
|
It "libtcl" {
|
|
|
|
|
"file /usr/local/lib/libtcl8.6.dylib" | Should -ReturnZeroExitCode
|
|
|
|
|
"file /usr/local/lib/libtk8.6.dylib" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-29 16:37:48 +07:00
|
|
|
Describe "bazelisk" {
|
|
|
|
|
It "bazelisk" {
|
|
|
|
|
"bazelisk version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "Github CLI" {
|
|
|
|
|
It "GitHub CLI" {
|
|
|
|
|
"gh --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "7-Zip" {
|
|
|
|
|
It "7-Zip" {
|
|
|
|
|
"7z i" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-25 14:45:18 -07:00
|
|
|
Describe "Apache Ant" -Skip:($os.IsMonterey) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "Apache Ant" {
|
|
|
|
|
"ant -version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "Aria2" {
|
|
|
|
|
It "Aria2" {
|
|
|
|
|
"aria2c --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "GNU Tar" {
|
|
|
|
|
It "GNU Tar" {
|
|
|
|
|
"gtar --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "bazel" {
|
|
|
|
|
It "bazel" {
|
|
|
|
|
"bazel --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "Julia" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "Julia" {
|
|
|
|
|
"julia --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "jq" {
|
|
|
|
|
It "jq" {
|
|
|
|
|
"jq --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "curl" {
|
|
|
|
|
It "curl" {
|
|
|
|
|
"curl --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "wget" {
|
|
|
|
|
It "wget" {
|
|
|
|
|
"wget --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "vagrant" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "vagrant" {
|
|
|
|
|
"vagrant --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "virtualbox" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "virtualbox" {
|
|
|
|
|
"vboxmanage -v" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "R" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2021-01-29 16:37:48 +07:00
|
|
|
It "R" {
|
|
|
|
|
"R --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "Homebrew" {
|
|
|
|
|
It "Homebrew" {
|
|
|
|
|
"brew --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
2021-07-29 17:21:09 +03:00
|
|
|
}
|
|
|
|
|
|
2024-09-25 14:45:18 -07:00
|
|
|
Describe "Kotlin" -Skip:($os.IsMonterey) {
|
2023-10-26 11:28:45 +02:00
|
|
|
$kotlinPackages = @("kapt", "kotlin", "kotlinc", "kotlinc-jvm", "kotlin-dce-js")
|
2021-07-29 17:21:09 +03:00
|
|
|
|
2023-12-04 12:13:08 +01:00
|
|
|
It "<toolName> is available" -TestCases ($kotlinPackages | ForEach-Object { @{ toolName = $_ } }) {
|
2021-07-29 17:21:09 +03:00
|
|
|
"$toolName -version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
2021-09-21 12:49:59 +03:00
|
|
|
}
|
|
|
|
|
|
2022-03-23 11:20:36 +01:00
|
|
|
Describe "yq" {
|
|
|
|
|
It "yq" {
|
|
|
|
|
"yq --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
2022-05-02 11:05:31 +02:00
|
|
|
}
|
|
|
|
|
|
2024-09-03 18:45:06 +02:00
|
|
|
Describe "imagemagick" -Skip:($os.IsVentura -or $os.IsSonoma -or $os.IsSequoia) {
|
2022-05-02 11:05:31 +02:00
|
|
|
It "imagemagick" {
|
|
|
|
|
"magick -version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
2023-10-26 11:28:45 +02:00
|
|
|
}
|