about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/hidden-modules/BUILD.bazel
blob: 5d79e56085a23a64ba92624562e46094ddf8b741 (plain) (tree)


































                                                   
load(
    "@io_tweag_rules_haskell//haskell:haskell.bzl",
    "haskell_library",
)

package(
    default_testonly = 1,
    default_visibility = ["//visibility:public"],
)

haskell_library(
    name = "lib-a",
    srcs = glob(["lib-a/*.hs"]),
    hidden_modules = ["Foo"],
    src_strip_prefix = "lib-a",
    deps = ["//tests/hackage:base"],
)

haskell_library(
    name = "lib-b",
    srcs = glob(["lib-b/*.hs"]),
    src_strip_prefix = "lib-b",
    deps = ["//tests/hackage:base"],
)

haskell_library(
    name = "lib-c",
    srcs = glob(["lib-c/*.hs"]),
    src_strip_prefix = "lib-c",
    deps = [
        ":lib-a",
        ":lib-b",
        "//tests/hackage:base",
    ],
)