| 1 |
package(default_visibility = ["//:__subpackages__"]) |
| 2 |
|
| 3 |
licenses(["notice"]) |
| 4 |
|
| 5 |
sh_binary( |
| 6 |
name = "test_utils", |
| 7 |
srcs = ["test_utils.sh"], |
| 8 |
) |
| 9 |
|
| 10 |
sh_binary( |
| 11 |
name = "github_release_util", |
| 12 |
srcs = ["github_release_util.sh"], |
| 13 |
) |
| 14 |
|
| 15 |
sh_test( |
| 16 |
name = "github_release_util_test", |
| 17 |
size = "small", |
| 18 |
srcs = ["github_release_util_test.sh"], |
| 19 |
args = [ |
| 20 |
"$(rlocationpath :github_release_util.sh)", |
| 21 |
"$(rlocationpath :test_utils)", |
| 22 |
], |
| 23 |
data = [ |
| 24 |
":github_release_util.sh", |
| 25 |
":test_utils", |
| 26 |
], |
| 27 |
target_compatible_with = select({ |
| 28 |
"@platforms//os:windows": ["@platforms//:incompatible"], |
| 29 |
"//conditions:default": [], |
| 30 |
}), |
| 31 |
) |