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/library-deps/sublib/BUILD.bazel | 21 --------------------- .../tests/library-deps/sublib/TestSubLib.hs | 7 ------- .../tests/library-deps/sublib/sublib-c.c | 3 --- 3 files changed, 31 deletions(-) delete mode 100644 third_party/bazel/rules_haskell/tests/library-deps/sublib/BUILD.bazel delete mode 100644 third_party/bazel/rules_haskell/tests/library-deps/sublib/TestSubLib.hs delete mode 100644 third_party/bazel/rules_haskell/tests/library-deps/sublib/sublib-c.c (limited to 'third_party/bazel/rules_haskell/tests/library-deps/sublib') diff --git a/third_party/bazel/rules_haskell/tests/library-deps/sublib/BUILD.bazel b/third_party/bazel/rules_haskell/tests/library-deps/sublib/BUILD.bazel deleted file mode 100644 index 5f3028e2e02c..000000000000 --- a/third_party/bazel/rules_haskell/tests/library-deps/sublib/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load( - "@io_tweag_rules_haskell//haskell:haskell.bzl", - "haskell_library", -) - -package(default_testonly = 1) - -haskell_library( - name = "sublib", - srcs = ["TestSubLib.hs"], - visibility = ["//visibility:public"], - deps = [ - ":sublib-c", - "//tests/hackage:base", - ], -) - -cc_library( - name = "sublib-c", - srcs = ["sublib-c.c"], -) diff --git a/third_party/bazel/rules_haskell/tests/library-deps/sublib/TestSubLib.hs b/third_party/bazel/rules_haskell/tests/library-deps/sublib/TestSubLib.hs deleted file mode 100644 index 1e8d2d475552..000000000000 --- a/third_party/bazel/rules_haskell/tests/library-deps/sublib/TestSubLib.hs +++ /dev/null @@ -1,7 +0,0 @@ -{-# LANGUAGE ForeignFunctionInterface #-} -module TestSubLib (messageEnd) where - -messageEnd :: String -messageEnd = "world " ++ show (foo 10) - -foreign import ccall foo :: Int -> Int diff --git a/third_party/bazel/rules_haskell/tests/library-deps/sublib/sublib-c.c b/third_party/bazel/rules_haskell/tests/library-deps/sublib/sublib-c.c deleted file mode 100644 index 2f3be3eb9ed7..000000000000 --- a/third_party/bazel/rules_haskell/tests/library-deps/sublib/sublib-c.c +++ /dev/null @@ -1,3 +0,0 @@ -int foo(int x) { - return x * 2; -} -- cgit 1.4.1