diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/c-compiles/BUILD.bazel')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/c-compiles/BUILD.bazel | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/c-compiles/BUILD.bazel b/third_party/bazel/rules_haskell/tests/c-compiles/BUILD.bazel new file mode 100644 index 000000000000..b5256bfb18d0 --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/c-compiles/BUILD.bazel @@ -0,0 +1,26 @@ +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", + ], +) |