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 --- third_party/bazel/rules_haskell/tests/ghc/ghc.bzl | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 third_party/bazel/rules_haskell/tests/ghc/ghc.bzl (limited to 'third_party/bazel/rules_haskell/tests/ghc/ghc.bzl') diff --git a/third_party/bazel/rules_haskell/tests/ghc/ghc.bzl b/third_party/bazel/rules_haskell/tests/ghc/ghc.bzl deleted file mode 100644 index 443f04e7be63..000000000000 --- a/third_party/bazel/rules_haskell/tests/ghc/ghc.bzl +++ /dev/null @@ -1,19 +0,0 @@ -"""Runs ghc --help""" - -hs_toolchain = "@io_tweag_rules_haskell//haskell:toolchain" - -def _impl(ctx): - output = ctx.outputs.out - ghc = ctx.toolchains[hs_toolchain].tools.ghc - ctx.actions.run_shell( - inputs = [ghc], - outputs = [output], - progress_message = "Printing ghc help message", - command = "%s --help > %s" % (ghc.path, output.path), - ) - -ghc_help = rule( - implementation = _impl, - outputs = {"out": "out_file"}, - toolchains = [hs_toolchain], -) -- cgit 1.4.1