about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/package-id-clash-binary
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/package-id-clash-binary')
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/BUILD.bazel15
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/Main.hs6
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/BUILD.bazel12
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/Foo.hs3
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/BUILD.bazel12
-rw-r--r--third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/Baz.hs3
6 files changed, 0 insertions, 51 deletions
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/BUILD.bazel b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/BUILD.bazel
deleted file mode 100644
index d64a8909c5f5..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/BUILD.bazel
+++ /dev/null
@@ -1,15 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_test",
-    "haskell_toolchain_library",
-)
-
-haskell_test(
-    name = "bin",
-    srcs = ["Main.hs"],
-    deps = [
-        "//tests/hackage:base",
-        "//tests/package-id-clash-binary/a:foo",
-        "//tests/package-id-clash-binary/b:foo",
-    ],
-)
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/Main.hs b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/Main.hs
deleted file mode 100644
index 0c341e6f47d2..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/Main.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Main where
-
-import Foo
-import Baz
-
-main = print $ x + y
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/BUILD.bazel b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/BUILD.bazel
deleted file mode 100644
index 02c3a6b36d3f..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/BUILD.bazel
+++ /dev/null
@@ -1,12 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_library",
-    "haskell_toolchain_library",
-)
-
-haskell_library(
-    name = "foo",
-    srcs = ["Foo.hs"],
-    visibility = ["//visibility:public"],
-    deps = ["//tests/hackage:base"],
-)
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/Foo.hs b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/Foo.hs
deleted file mode 100644
index ecac0701a07d..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/a/Foo.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-module Foo where
-
-x = 2
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/BUILD.bazel b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/BUILD.bazel
deleted file mode 100644
index 4bf734af5dd1..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/BUILD.bazel
+++ /dev/null
@@ -1,12 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_library",
-    "haskell_toolchain_library",
-)
-
-haskell_library(
-    name = "foo",
-    srcs = ["Baz.hs"],
-    visibility = ["//visibility:public"],
-    deps = ["//tests/hackage:base"],
-)
diff --git a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/Baz.hs b/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/Baz.hs
deleted file mode 100644
index 3159fda6b00a..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-id-clash-binary/b/Baz.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-module Baz where
-
-y = 2