diff --git a/BUILD.bazel b/BUILD.bazel index a1a2fad..c599b5f 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -19,7 +19,10 @@ haskell_library( "src/Language/Cimple/Tokens.hs", ], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -37,7 +40,10 @@ haskell_library( name = "ast", srcs = ["src/Language/Cimple/Ast.hs"], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -57,7 +63,10 @@ haskell_library( "src/Language/Cimple/Flatten.hs", ], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -84,7 +93,10 @@ haskell_library( extra_srcs = ["src/Language/Cimple/Parser.preproc.y"], ghcopts = ["-DSOURCE=\"$(location src/Language/Cimple/Parser.preproc.y)\""], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -115,7 +127,10 @@ haskell_library( name = "comment-parser", srcs = [":CommentParser"], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -142,7 +157,10 @@ haskell_library( name = "tree-parser", srcs = [":TreeParser"], src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = [ "//hs-cimple:__subpackages__", "//tools/haskell:__pkg__", @@ -172,7 +190,10 @@ haskell_library( ], ), src_strip_prefix = "src", - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], version = "0.0.23", visibility = ["//visibility:public"], deps = [ diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index ca88607..0e8ad76 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -3,7 +3,10 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary") haskell_binary( name = "cimplefmt", srcs = ["cimplefmt.hs"], - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = ["//visibility:public"], deps = [ "//hs-cimple", @@ -16,7 +19,10 @@ haskell_binary( haskell_binary( name = "dump-ast", srcs = ["dump-ast.hs"], - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = ["//visibility:public"], deps = [ "//hs-cimple", @@ -28,7 +34,10 @@ haskell_binary( haskell_binary( name = "count-tokens", srcs = ["count-tokens.hs"], - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = ["//visibility:public"], deps = [ "//hs-cimple", @@ -42,7 +51,10 @@ haskell_binary( haskell_binary( name = "dump-tokens", srcs = ["dump-tokens.hs"], - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = ["//visibility:public"], deps = [ "//hs-cimple", @@ -55,7 +67,10 @@ haskell_binary( haskell_binary( name = "include-graph", srcs = ["include-graph.hs"], - tags = ["no-cross"], + tags = [ + "haskell", + "no-cross", + ], visibility = ["//visibility:public"], deps = [ "//hs-cimple",