about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/library-deps/BUILD.bazel
blob: d6844e1ac120909bb63749e5ca6f5a22e561b74b (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
24
25
26
27
28
load(
    "@io_tweag_rules_haskell//haskell:haskell.bzl",
    "haskell_library",
    "haskell_test",
)

package(default_testonly = 1)

haskell_library(
    name = "library-deps",
    srcs = ["TestLib.hs"],
    visibility = ["//visibility:public"],
    deps = [
        "//tests/hackage:base",
        "//tests/library-deps/sublib",
    ],
)

haskell_test(
    name = "bin-deps",
    size = "small",
    srcs = ["Bin.hs"],
    visibility = ["//visibility:public"],
    deps = [
        "//tests/hackage:base",
        "//tests/library-deps/sublib",
    ],
)