about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/hidden-modules
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
committerVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
commit128875b501bc2989617ae553317b80faa556d752 (patch)
tree9b32d12123801179ebe900980556486ad4803482 /third_party/bazel/rules_haskell/tests/hidden-modules
parenta20daf87265a62b494d67f86d4a5199f14394973 (diff)
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/hidden-modules')
-rw-r--r--third_party/bazel/rules_haskell/tests/hidden-modules/BUILD.bazel35
-rw-r--r--third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Bar.hs6
-rw-r--r--third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Foo.hs4
-rw-r--r--third_party/bazel/rules_haskell/tests/hidden-modules/lib-b/Foo.hs4
-rw-r--r--third_party/bazel/rules_haskell/tests/hidden-modules/lib-c/Baz.hs7
5 files changed, 0 insertions, 56 deletions
diff --git a/third_party/bazel/rules_haskell/tests/hidden-modules/BUILD.bazel b/third_party/bazel/rules_haskell/tests/hidden-modules/BUILD.bazel
deleted file mode 100644
index 5d79e56085a2..000000000000
--- a/third_party/bazel/rules_haskell/tests/hidden-modules/BUILD.bazel
+++ /dev/null
@@ -1,35 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_library",
-)
-
-package(
-    default_testonly = 1,
-    default_visibility = ["//visibility:public"],
-)
-
-haskell_library(
-    name = "lib-a",
-    srcs = glob(["lib-a/*.hs"]),
-    hidden_modules = ["Foo"],
-    src_strip_prefix = "lib-a",
-    deps = ["//tests/hackage:base"],
-)
-
-haskell_library(
-    name = "lib-b",
-    srcs = glob(["lib-b/*.hs"]),
-    src_strip_prefix = "lib-b",
-    deps = ["//tests/hackage:base"],
-)
-
-haskell_library(
-    name = "lib-c",
-    srcs = glob(["lib-c/*.hs"]),
-    src_strip_prefix = "lib-c",
-    deps = [
-        ":lib-a",
-        ":lib-b",
-        "//tests/hackage:base",
-    ],
-)
diff --git a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Bar.hs b/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Bar.hs
deleted file mode 100644
index 5bc9c68895bf..000000000000
--- a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Bar.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Bar (bar) where
-
-import Foo (foo)
-
-bar :: Int
-bar = foo * 2
diff --git a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Foo.hs b/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Foo.hs
deleted file mode 100644
index 664be00d5487..000000000000
--- a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-a/Foo.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Foo (foo) where
-
-foo :: Int
-foo = 15
diff --git a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-b/Foo.hs b/third_party/bazel/rules_haskell/tests/hidden-modules/lib-b/Foo.hs
deleted file mode 100644
index 6fdd42f9a8cd..000000000000
--- a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-b/Foo.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Foo (foo) where
-
-foo :: Int
-foo = 16
diff --git a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-c/Baz.hs b/third_party/bazel/rules_haskell/tests/hidden-modules/lib-c/Baz.hs
deleted file mode 100644
index 055b2e80ad79..000000000000
--- a/third_party/bazel/rules_haskell/tests/hidden-modules/lib-c/Baz.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Baz (bar) where
-
-import Foo (foo)
-import Bar (bar)
-
-baz :: Int
-baz = foo + bar