about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/lhs/BUILD.bazel
blob: e344ee6def1c8979ff7c64928e9593f49e198be2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
load(
    "@io_tweag_rules_haskell//haskell:haskell.bzl",
    "haskell_library",
    "haskell_test",
)

package(default_testonly = 1)

haskell_library(
    name = "lhs-lib",
    srcs = ["Lib.lhs"],
    deps = ["//tests/hackage:base"],
)

haskell_test(
    name = "lhs-bin",
    srcs = ["Main.lhs"],
    visibility = ["//visibility:public"],
    deps = [
        ":lhs-lib",
        "//tests/hackage:base",
    ],
)