| 1 |
load("@aspect_rules_js//js:defs.bzl", "js_library") |
| 2 |
load("@rules_python//python:py_binary.bzl", "py_binary") |
| 3 |
load("@rules_python//python:py_test.bzl", "py_test") |
| 4 |
load("@rules_shell//shell:sh_binary.bzl", "sh_binary") |
| 5 |
|
| 6 |
package(default_visibility = ["//visibility:public"]) |
| 7 |
|
| 8 |
# Consumed by the Node.js js_test (//:node_test) for the prebuild-assets case. |
| 9 |
js_library( |
| 10 |
name = "prepare_node_prebuild_artifacts", |
| 11 |
srcs = ["prepare-node-prebuild-artifacts.js"], |
| 12 |
) |
| 13 |
|
| 14 |
py_binary( |
| 15 |
name = "convert_resource_zip", |
| 16 |
srcs = ["convert_resource_zip.py"], |
| 17 |
) |
| 18 |
|
| 19 |
py_test( |
| 20 |
name = "compile_to_inline_config_test", |
| 21 |
size = "small", |
| 22 |
srcs = [ |
| 23 |
"compile_to_inline_config.py", |
| 24 |
"compile_to_inline_config_test.py", |
| 25 |
], |
| 26 |
imports = ["."], |
| 27 |
main = "compile_to_inline_config_test.py", |
| 28 |
) |
| 29 |
|
| 30 |
sh_binary( |
| 31 |
name = "build_node_windows_zig", |
| 32 |
srcs = ["build-node-windows-zig.sh"], |
| 33 |
) |
| 34 |
|
| 35 |
sh_binary( |
| 36 |
name = "build_jieba_windows_zig", |
| 37 |
srcs = ["build-jieba-windows-zig.sh"], |
| 38 |
) |
| 39 |
|
| 40 |
sh_binary( |
| 41 |
name = "build_cli_windows_zig", |
| 42 |
srcs = ["build-cli-windows-zig.sh"], |
| 43 |
) |