about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-with-import/BUILD.bazel
blob: 3b920d37c41a3b66aaac6f6e5b41398e9b7f0ab3 (plain) (tree)

























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

package(default_testonly = 1)

haskell_library(
    name = "lib",
    srcs = ["src/Lib.hs"],
    deps = [
        "//tests/hackage:base",
        "//tests/hackage:transformers",
    ],
)

haskell_test(
    name = "binary-with-import",
    srcs = ["Main.hs"],
    visibility = ["//visibility:public"],
    deps = [
        ":lib",
        "//tests/hackage:base",
    ],
)