Skip to content

Commit

Permalink
chore: Disable targets for cross-compilation.
Browse files Browse the repository at this point in the history
This way we can do bazel build //... when cross-compiling.
  • Loading branch information
iphydf committed Dec 24, 2023
1 parent 97c76e2 commit 6bbd376
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ haskell_library(
]),
ghcopts = ["-j4"],
src_strip_prefix = "src",
tags = ["no-cross"],
visibility = ["//visibility:public"],
deps = [
"//third_party/haskell:QuickCheck",
Expand All @@ -30,6 +31,7 @@ haskell_library(
]),
ghcopts = ["-j4"],
src_strip_prefix = "src",
tags = ["no-cross"],
visibility = ["//visibility:public"],
deps = [
":github-base",
Expand All @@ -52,6 +54,7 @@ haskell_library(
],
),
src_strip_prefix = "src",
tags = ["no-cross"],
version = "0.1.3",
visibility = ["//visibility:public"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary")
[haskell_binary(
name = file[:-3],
srcs = [file],
tags = ["no-cross"],
visibility = ["//visibility:public"],
deps = [
"//hs-github-tools",
Expand Down
1 change: 1 addition & 0 deletions web/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary")
haskell_binary(
name = "webservice",
srcs = glob(["**/*.hs"]),
tags = ["no-cross"],
visibility = ["//visibility:public"],
deps = [
"//hs-github-tools",
Expand Down

0 comments on commit 6bbd376

Please sign in to comment.