Skip to content

Commit 0139d13

Browse files
committed
Load sh_test and sh_binary rules from rules_shell
1 parent 5682c6b commit 0139d13

File tree

17 files changed

+17
-0
lines changed

17 files changed

+17
-0
lines changed

haskell/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ load(
2323
"haskell_toolchain_info",
2424
)
2525
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
26+
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
2627

2728
exports_files(
2829
glob(["*.bzl"]) + [

haskell/private/cc_wrapper.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load("@bazel_skylib//lib:paths.bzl", "paths")
22
load("@rules_cc//cc:action_names.bzl", "ACTION_NAMES")
33
load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain", "use_cc_toolchain")
44
load("@rules_python//python:defs.bzl", "py_binary")
5+
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
56

67
# Note [On configuring the cc_wrapper]
78
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

haskell/repl.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ load("@bazel_skylib//lib:new_sets.bzl", "sets")
44
load("@bazel_skylib//lib:paths.bzl", "paths")
55
load("@bazel_skylib//lib:shell.bzl", "shell")
66
load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain", "use_cc_toolchain")
7+
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
78
load(":cc.bzl", "ghc_cc_program_args")
89
load(
910
":private/cc_libraries.bzl",

rules_haskell_nix/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier", "buildifier_test")
2+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
23

34
buildifier(
45
name = "buildifier",

rules_haskell_tests/tests/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ load(
2525
)
2626
load("@rules_haskell//tests:inline_tests.bzl", "sh_inline_test")
2727
load("@rules_haskell_ghc_version//:ghc_version.bzl", "GHC_VERSION")
28+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
2829
load("//tests:rule_test_exe.bzl", "rule_test_exe")
2930
load("//tests:test_haddock.bzl", "expected_values")
3031

rules_haskell_tests/tests/ghc-check/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ load(
77
"@rules_haskell//haskell:defs.bzl",
88
"haskell_test",
99
)
10+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
1011

1112
haskell_test(
1213
name = "ghc-check",

rules_haskell_tests/tests/ghcide/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
load("@os_info//:os_info.bzl", "is_windows")
22
load("@rules_haskell//tools/ghc-paths:defs.bzl", "add_data")
3+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
34

45
add_data(
56
name = "ghcide",

rules_haskell_tests/tests/haddock/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ load(
33
"haskell_doc",
44
"haskell_library",
55
)
6+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
67

78
package(
89
default_testonly = 1,

rules_haskell_tests/tests/haskell_cabal_datafiles/compare_other_cabal_functions/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#
77

88
load("@os_info//:os_info.bzl", "is_windows")
9+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
910

1011
sh_test(
1112
name = "same_other_functions{}".format(".exe" if is_windows else ""),

rules_haskell_tests/tests/haskell_cabal_datafiles/haskell_cabal_binary_with_datafiles/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ load(
99
"@rules_haskell//haskell:defs.bzl",
1010
"haskell_toolchain_library",
1111
)
12+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
1213

1314
package(default_testonly = 1)
1415

0 commit comments

Comments
 (0)