Skip to content

Commit

Permalink
chore: add a 'no_match_error' to the 'select'
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Oct 26, 2023
1 parent 8a1f463 commit e8ca54c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ config_setting(

alias(
name = "shellcheck",
actual = select({
":darwin_x86_64": "@shellcheck_darwin_amd64//:shellcheck",
":linux_aarch64": "@shellcheck_linux_arm64//:shellcheck",
":linux_x86_64": "@shellcheck_linux_amd64//:shellcheck",
}),
actual = select(
{
":darwin_x86_64": "@shellcheck_darwin_amd64//:shellcheck",
":linux_aarch64": "@shellcheck_linux_arm64//:shellcheck",
":linux_x86_64": "@shellcheck_linux_amd64//:shellcheck",
},
no_match_error = "binaries for your platform could not be found",
),
visibility = ["//visibility:public"],
)

0 comments on commit e8ca54c

Please sign in to comment.