diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel b/third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel new file mode 100644 index 000000000000..9c1b91cf9b83 --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel @@ -0,0 +1,24 @@ +load( + "@io_tweag_rules_haskell//haskell:haskell.bzl", + "haskell_library", +) + +package(default_testonly = 1) + +haskell_library( + name = "sublib", + srcs = ["Foo.hs"], + visibility = ["//visibility:public"], + deps = ["//tests/hackage:base"], +) + +haskell_library( + name = "lib", + srcs = ["Baz.hs"], + visibility = ["//visibility:public"], + deps = [ + ":sublib", + "//tests/hackage:base", + "//tests/package-id-clash/sublib", + ], +) |