Skip to content

Commit

Permalink
fix: do not copy cypress binary on macos
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
Jason Bedard committed Oct 25, 2023
1 parent 729e901 commit c7b1e99
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cypress/BUILD.cypress
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ copy_directory(
"@bazel_tools//src/conditions:darwin": "Cypress.app",
"//conditions:default": "Cypress",
}),
tags = ["manual"]
)

copy_to_bin(
name = "binary_state_file",
srcs = ["binary_state.json"]
srcs = ["binary_state.json"],
tags = ["manual"]
)

filegroup(
name = "files",
srcs = [
":cypress_binary",
":binary_state_file",
],
srcs = select({
"@bazel_tools//src/conditions:darwin": ["Cypress.app", "binary_state.json"],
"//conditions:default": [":cypress_binary", ":binary_state_file"]
}),
visibility = ["//visibility:public"],
)

Expand Down

0 comments on commit c7b1e99

Please sign in to comment.