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 33d0ab4 commit e42ad50
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
10 changes: 8 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ haskell_library(
srcs = glob(["src/Tokstyle/C/**/*.*hs"]),
ghcopts = ["-j4"],
src_strip_prefix = "src",
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
version = "0.0.9",
visibility = ["//visibility:public"],
deps = [
Expand All @@ -30,7 +33,10 @@ haskell_library(
),
ghcopts = ["-j4"],
src_strip_prefix = "src",
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
version = "0.0.9",
visibility = ["//visibility:public"],
deps = [
Expand Down
10 changes: 8 additions & 2 deletions doc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ genrule(
name = "cimple_doc",
outs = ["cimple.md.new"],
cmd = "$(location //hs-tokstyle/tools:check-cimple) --help > $@",
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
tools = ["//hs-tokstyle/tools:check-cimple"],
)

Expand All @@ -19,5 +22,8 @@ sh_test(
"cimple.md",
"cimple.md.new",
],
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
)
10 changes: 8 additions & 2 deletions tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ haskell_binary(
"-rtsopts",
"-threaded",
],
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
visibility = ["//visibility:public"],
deps = [
"//hs-cimple",
Expand All @@ -31,7 +34,10 @@ haskell_binary(
"-rtsopts",
"-threaded",
],
tags = ["no-cross"],
tags = [
"haskell",
"no-cross",
],
visibility = ["//visibility:public"],
deps = [
"//hs-tokstyle:c-linters",
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-cimple",
Expand Down

0 comments on commit e42ad50

Please sign in to comment.