fix: tests

This commit is contained in:
Eric
2026-03-04 08:44:11 +01:00
parent 604dc41a95
commit d1b209eb0e
11 changed files with 151 additions and 94 deletions

View File

@@ -4,10 +4,6 @@ load("@rules_shell//shell:sh_test.bzl", "sh_test")
bun_binary(
name = "hello_js_bin",
entry_point = "hello.js",
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
sh_test(
@@ -15,19 +11,11 @@ sh_test(
srcs = ["run_binary.sh"],
args = ["$(location :hello_js_bin)", "hello-js"],
data = [":hello_js_bin"],
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
bun_binary(
name = "hello_ts_bin",
entry_point = "hello.ts",
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
sh_test(
@@ -35,8 +23,4 @@ sh_test(
srcs = ["run_binary.sh"],
args = ["$(location :hello_ts_bin)", "hello-ts"],
data = [":hello_ts_bin"],
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)