26 lines
465 B
Text
26 lines
465 B
Text
load(
|
|
"@io_tweag_rules_haskell//haskell:haskell.bzl",
|
|
"haskell_library",
|
|
"haskell_test",
|
|
)
|
|
|
|
package(default_testonly = 1)
|
|
|
|
haskell_library(
|
|
name = "hs-lib",
|
|
srcs = ["Lib.hs"],
|
|
deps = [
|
|
"//tests/data:ourclibrary",
|
|
"//tests/hackage:base",
|
|
],
|
|
)
|
|
|
|
haskell_test(
|
|
name = "c-compiles",
|
|
srcs = ["Main.hs"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
":hs-lib",
|
|
"//tests/hackage:base",
|
|
],
|
|
)
|