24 lines
613 B
Python
24 lines
613 B
Python
load("@rules_shell//shell:sh_test.bzl", "sh_test")
|
|
|
|
sh_test(
|
|
name = "bun_install_clean_install_test",
|
|
srcs = ["clean_install.sh"],
|
|
args = ["$(location @bun_linux_x64//:bun)"],
|
|
data = ["@bun_linux_x64//:bun"],
|
|
target_compatible_with = [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
)
|
|
|
|
sh_test(
|
|
name = "bun_install_stale_lockfile_test",
|
|
srcs = ["stale_lockfile.sh"],
|
|
args = ["$(location @bun_linux_x64//:bun)"],
|
|
data = ["@bun_linux_x64//:bun"],
|
|
target_compatible_with = [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
)
|