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

package(default_testonly = 1)

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

cc_library(
    name = "sublib-c",
    srcs = ["sublib-c.c"],
)