diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/binary-exe-path')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/binary-exe-path/BUILD.bazel | 13 | ||||
-rw-r--r-- | third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/binary-exe-path/BUILD.bazel b/third_party/bazel/rules_haskell/tests/binary-exe-path/BUILD.bazel new file mode 100644 index 000000000000..0cb617a50877 --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/binary-exe-path/BUILD.bazel @@ -0,0 +1,13 @@ +load( + "@io_tweag_rules_haskell//haskell:haskell.bzl", + "haskell_test", +) + +package(default_testonly = 1) + +haskell_test( + name = "binary-exe-path", + srcs = ["Main.hs"], + visibility = ["//visibility:public"], + deps = ["//tests/hackage:base"], +) diff --git a/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs b/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs new file mode 100644 index 000000000000..6a02bb9fc8ec --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs @@ -0,0 +1,5 @@ +module Main where + +import System.Environment + +main = getExecutablePath >>= putStrLn |