We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cad3e8 commit 441ae1bCopy full SHA for 441ae1b
ruby/tests/BUILD.bazel
@@ -3,6 +3,22 @@ load(
3
"ruby_binary",
4
)
5
6
+# Tests if :ruby_bin can run in sh_binary
7
+sh_test(
8
+ name = "runtime_run_ruby_test",
9
+ srcs = ["runtime_run_ruby_test.sh"],
10
+ args = [
11
+ "$(location args_check.rb)",
12
+ "foo",
13
+ "bar",
14
+ "baz",
15
+ ],
16
+ data = [
17
+ "args_check.rb",
18
+ "@org_ruby_lang_ruby_host//:ruby_bin",
19
20
+)
21
+
22
ruby_binary(
23
name = "args_check",
24
srcs = ["args_check.rb"],
ruby/tests/runtime_run_ruby_test.sh
@@ -0,0 +1,2 @@
1
+#!/bin/sh -e
2
+external/org_ruby_lang_ruby_host/ruby_bin $*
0 commit comments