Skip to content

Commit

Permalink
chore: Add more descriptive/precise tags to bazel build rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Jan 20, 2025
1 parent 1c044e7 commit fae6267
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ haskell_library(
srcs = glob(["src/**/*.*hs"]),
ghcopts = ["-j4"],
src_strip_prefix = "src",
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
version = "0.2.12",
visibility = ["//visibility:public"],
deps = [
Expand Down
10 changes: 8 additions & 2 deletions tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary", "haskell_test")
haskell_binary(
name = "toxsave-convert",
srcs = ["toxsave-convert.hs"],
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
visibility = ["//tools/haskell:__pkg__"],
deps = [
"//hs-toxcore",
Expand All @@ -19,7 +22,10 @@ haskell_test(
size = "small",
srcs = ["toxsave-test.hs"],
ghcopts = ["-optl=-fsanitize=address"],
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
visibility = ["//tools/haskell:__pkg__"],
deps = [
"//c-toxcore",
Expand Down
5 changes: 4 additions & 1 deletion web/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary")
haskell_binary(
name = "webservice",
srcs = glob(["**/*.hs"]),
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
visibility = ["//visibility:public"],
deps = [
"//hs-msgpack-binary",
Expand Down

0 comments on commit fae6267

Please sign in to comment.