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/binary-with-indirect-sysdeps/BUILD.bazel | 27 ---------------------- .../tests/binary-with-indirect-sysdeps/HsLib.hs | 8 ------- .../tests/binary-with-indirect-sysdeps/Main.hs | 5 ---- 3 files changed, 40 deletions(-) delete mode 100644 third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/BUILD.bazel delete mode 100644 third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/HsLib.hs delete mode 100644 third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/Main.hs (limited to 'third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps') diff --git a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/BUILD.bazel b/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/BUILD.bazel deleted file mode 100644 index 195288882b..0000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load( - "@io_tweag_rules_haskell//haskell:haskell.bzl", - "haskell_library", - "haskell_test", -) - -package(default_testonly = 1) - -haskell_library( - name = "hs-lib", - srcs = ["HsLib.hs"], - tags = ["requires_zlib"], - deps = [ - "//tests/hackage:base", - "@zlib.dev//:zlib", - ], -) - -haskell_test( - name = "binary-with-indirect-sysdeps", - srcs = ["Main.hs"], - tags = ["requires_zlib"], - deps = [ - ":hs-lib", - "//tests/hackage:base", - ], -) diff --git a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/HsLib.hs b/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/HsLib.hs deleted file mode 100644 index 1077606e31..0000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/HsLib.hs +++ /dev/null @@ -1,8 +0,0 @@ -module HsLib where - -import Foreign.Ptr -import Foreign.C.Types - -foreign import ccall crc32 :: CLong -> Ptr () -> CInt -> IO () - -test = crc32 0 nullPtr 0 diff --git a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/Main.hs b/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/Main.hs deleted file mode 100644 index 9c92b34c8a..0000000000 --- a/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/Main.hs +++ /dev/null @@ -1,5 +0,0 @@ -module Main where - -import HsLib (test) - -main = test -- cgit 1.4.1