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/binary-with-import | |
parent | a20daf87265a62b494d67f86d4a5199f14394973 (diff) |
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/binary-with-import')
3 files changed, 0 insertions, 45 deletions
diff --git a/third_party/bazel/rules_haskell/tests/binary-with-import/BUILD.bazel b/third_party/bazel/rules_haskell/tests/binary-with-import/BUILD.bazel deleted file mode 100644 index 3b920d37c41a..000000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-import/BUILD.bazel +++ /dev/null @@ -1,26 +0,0 @@ -load( - "@io_tweag_rules_haskell//haskell:haskell.bzl", - "haskell_library", - "haskell_test", -) - -package(default_testonly = 1) - -haskell_library( - name = "lib", - srcs = ["src/Lib.hs"], - deps = [ - "//tests/hackage:base", - "//tests/hackage:transformers", - ], -) - -haskell_test( - name = "binary-with-import", - srcs = ["Main.hs"], - visibility = ["//visibility:public"], - deps = [ - ":lib", - "//tests/hackage:base", - ], -) diff --git a/third_party/bazel/rules_haskell/tests/binary-with-import/Main.hs b/third_party/bazel/rules_haskell/tests/binary-with-import/Main.hs deleted file mode 100644 index 1bded5e8e55b..000000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-import/Main.hs +++ /dev/null @@ -1,6 +0,0 @@ -module Main where - -import Lib (printValue) - -main :: IO () -main = printValue diff --git a/third_party/bazel/rules_haskell/tests/binary-with-import/src/Lib.hs b/third_party/bazel/rules_haskell/tests/binary-with-import/src/Lib.hs deleted file mode 100644 index d384e73e6337..000000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-import/src/Lib.hs +++ /dev/null @@ -1,13 +0,0 @@ -module Lib (printValue) where - -import Control.Monad (void) -import Control.Monad.Trans.Class (lift) -import Control.Monad.Trans.Except (ExceptT, runExceptT) - -getValue :: Monad m => ExceptT e m Int -getValue = pure 42 - -printValue :: IO () -printValue = void $ runExceptT $ do - value <- getValue - lift $ print value |