diff options
author | Vincent Ambo <tazjin@google.com> | 2019-08-15T15·11+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-08-15T15·11+0100 |
commit | 128875b501bc2989617ae553317b80faa556d752 (patch) | |
tree | 9b32d12123801179ebe900980556486ad4803482 /third_party/bazel/rules_haskell/tests/hsc | |
parent | a20daf87265a62b494d67f86d4a5199f14394973 (diff) |
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/hsc')
7 files changed, 0 insertions, 74 deletions
diff --git a/third_party/bazel/rules_haskell/tests/hsc/BUILD.bazel b/third_party/bazel/rules_haskell/tests/hsc/BUILD.bazel deleted file mode 100644 index 1e9a07cd5e08..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/BUILD.bazel +++ /dev/null @@ -1,35 +0,0 @@ -load( - "@io_tweag_rules_haskell//haskell:haskell.bzl", - "haskell_library", - "haskell_test", -) - -package(default_testonly = 1) - -haskell_library( - name = "hsc-lib", - srcs = [ - "Bar.hsc", - "Bar/Baz.hsc", - "Flags.hsc", - "Foo.hsc", - ], - compiler_flags = [ - "-DTHIS_IS_TRUE", - "-optP-DTHIS_TOO_IS_TRUE", - ], - deps = ["//tests/hackage:base"], -) - -haskell_test( - name = "hsc", - srcs = [ - "BinHsc.hsc", - "Main.hs", - ], - visibility = ["//visibility:public"], - deps = [ - ":hsc-lib", - "//tests/hackage:base", - ], -) diff --git a/third_party/bazel/rules_haskell/tests/hsc/Bar.hsc b/third_party/bazel/rules_haskell/tests/hsc/Bar.hsc deleted file mode 100644 index a8bb791513b5..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/Bar.hsc +++ /dev/null @@ -1,6 +0,0 @@ -module Bar (hscFiredBar) where - -#ifndef _INTERNAL_HSC_DO_NOT_DEFINE_ME -hscFiredBar :: String -hscFiredBar = "hscFiredBar" -#endif diff --git a/third_party/bazel/rules_haskell/tests/hsc/Bar/Baz.hsc b/third_party/bazel/rules_haskell/tests/hsc/Bar/Baz.hsc deleted file mode 100644 index 7db172485de5..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/Bar/Baz.hsc +++ /dev/null @@ -1,6 +0,0 @@ -module Bar.Baz (hscFiredBaz) where - -#ifndef _INTERNAL_HSC_DO_NOT_DEFINE_ME -hscFiredBaz :: String -hscFiredBaz = "hscFiredBaz" -#endif diff --git a/third_party/bazel/rules_haskell/tests/hsc/BinHsc.hsc b/third_party/bazel/rules_haskell/tests/hsc/BinHsc.hsc deleted file mode 100644 index ddfee79c137c..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/BinHsc.hsc +++ /dev/null @@ -1 +0,0 @@ -module BinHsc () where \ No newline at end of file diff --git a/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc b/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc deleted file mode 100644 index b090df576ab4..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc +++ /dev/null @@ -1,8 +0,0 @@ -module Flags (hscFlags) where - -#ifdef THIS_IS_TRUE -#ifdef THIS_TOO_IS_TRUE -hscFlags :: String -hscFlags = "hscFlags" -#endif -#endif diff --git a/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc b/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc deleted file mode 100644 index 2cb726e18110..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc +++ /dev/null @@ -1,8 +0,0 @@ -module Foo (hscFiredFoo) where - -#if __GLASGOW_HASKELL__ >= 700 -#ifndef _INTERNAL_HSC_DO_NOT_DEFINE_ME -hscFiredFoo :: String -hscFiredFoo = "hscFiredFoo" -#endif -#endif diff --git a/third_party/bazel/rules_haskell/tests/hsc/Main.hs b/third_party/bazel/rules_haskell/tests/hsc/Main.hs deleted file mode 100644 index 33ff7f10f78c..000000000000 --- a/third_party/bazel/rules_haskell/tests/hsc/Main.hs +++ /dev/null @@ -1,10 +0,0 @@ -module Main (main) where - -import BinHsc () -import Foo (hscFiredFoo) -import Bar (hscFiredBar) -import Bar.Baz (hscFiredBaz) -import Flags (hscFlags) - -main :: IO () -main = putStrLn (hscFiredFoo ++ hscFiredBar ++ hscFiredBaz ++ hscFlags) |