From 128875b501bc2989617ae553317b80faa556d752 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 15 Aug 2019 16:11:30 +0100 Subject: chore: Remove remaining Bazel-related files --- .../tests/failures/transitive-deps/BUILD.bazel | 66 ---------------------- .../tests/failures/transitive-deps/LibA.hs | 4 -- .../tests/failures/transitive-deps/LibB.hs | 6 -- .../tests/failures/transitive-deps/LibC.hs | 6 -- .../tests/failures/transitive-deps/LibD.hs | 7 --- 5 files changed, 89 deletions(-) delete mode 100644 third_party/bazel/rules_haskell/tests/failures/transitive-deps/BUILD.bazel delete mode 100644 third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibA.hs delete mode 100644 third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibB.hs delete mode 100644 third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibC.hs delete mode 100644 third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibD.hs (limited to 'third_party/bazel/rules_haskell/tests/failures/transitive-deps') diff --git a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/BUILD.bazel b/third_party/bazel/rules_haskell/tests/failures/transitive-deps/BUILD.bazel deleted file mode 100644 index c2efbd924a32..000000000000 --- a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/BUILD.bazel +++ /dev/null @@ -1,66 +0,0 @@ -load( - "@io_tweag_rules_haskell//haskell:haskell.bzl", - "haskell_library", -) - -package(default_testonly = 1) - -haskell_library( - name = "lib-a", - srcs = ["LibA.hs"], - deps = ["//tests/hackage:base"], -) - -haskell_library( - name = "lib-b", - srcs = ["LibB.hs"], - visibility = ["//visibility:private"], - deps = [ - ":lib-a", - "//tests/hackage:base", - ], -) - -# Targets that must FAIL. These are tagged as manual so that -# -# $ bazel build //... -# -# does not fail. - -haskell_library( - # Should fail because it doesn't specify "base" explicitly. - name = "lib-cFailure", - srcs = ["LibC.hs"], - tags = ["manual"], - deps = [":lib-b"], -) - -haskell_library( - name = "lib-c", - srcs = ["LibC.hs"], - deps = [ - ":lib-b", - "//tests/hackage:base", - ], -) - -haskell_library( - # Should fail because it doesn't specify "lib-a" explicitly. - name = "lib-dFailure", - srcs = ["LibD.hs"], - tags = ["manual"], - deps = [ - ":lib-b", - "//tests/hackage:base", - ], -) - -haskell_library( - name = "lib-d", - srcs = ["LibD.hs"], - deps = [ - ":lib-a", - ":lib-b", - "//tests/hackage:base", - ], -) diff --git a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibA.hs b/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibA.hs deleted file mode 100644 index 23e9486489fe..000000000000 --- a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibA.hs +++ /dev/null @@ -1,4 +0,0 @@ -module LibA (thingA) where - -thingA :: Int -thingA = 5 diff --git a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibB.hs b/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibB.hs deleted file mode 100644 index 9ab883093bd8..000000000000 --- a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibB.hs +++ /dev/null @@ -1,6 +0,0 @@ -module LibB (thingB) where - -import LibA (thingA) - -thingB :: Int -thingB = thingA + 1 diff --git a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibC.hs b/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibC.hs deleted file mode 100644 index 70514f13168b..000000000000 --- a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibC.hs +++ /dev/null @@ -1,6 +0,0 @@ -module LibC (thingC) where - -import LibB (thingB) - -thingC :: Int -thingC = thingB * 2 diff --git a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibD.hs b/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibD.hs deleted file mode 100644 index 326d224a2a15..000000000000 --- a/third_party/bazel/rules_haskell/tests/failures/transitive-deps/LibD.hs +++ /dev/null @@ -1,7 +0,0 @@ -module LibD (thingD) where - -import LibA (thingA) -import LibB (thingB) - -thingD :: Int -thingD = thingA + thingB -- cgit 1.4.1