docs: Refactor code structure for improved readability
This commit is contained in:
@@ -3,11 +3,13 @@ module(
|
||||
version = "0.2.0",
|
||||
)
|
||||
|
||||
# Core ruleset dependencies.
|
||||
bazel_dep(name = "platforms", version = "1.0.0")
|
||||
bazel_dep(name = "rules_shell", version = "0.6.1")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.8.2")
|
||||
bazel_dep(name = "stardoc", version = "0.7.2")
|
||||
|
||||
# Repository-local setup for this ruleset's own tests and examples.
|
||||
bun_ext = use_extension("//bun:extensions.bzl", "bun")
|
||||
use_repo(
|
||||
bun_ext,
|
||||
@@ -18,6 +20,7 @@ use_repo(
|
||||
"bun_windows_x64",
|
||||
)
|
||||
|
||||
# Test fixture dependency installation used by //tests/script_test.
|
||||
bun_install_ext = use_extension("//bun:extensions.bzl", "bun_install")
|
||||
bun_install_ext.install(
|
||||
name = "script_test_vite_node_modules",
|
||||
@@ -26,6 +29,7 @@ bun_install_ext.install(
|
||||
)
|
||||
use_repo(bun_install_ext, "script_test_vite_node_modules")
|
||||
|
||||
# Register the published Bun toolchains for this repository.
|
||||
register_toolchains(
|
||||
"//bun:darwin_aarch64_toolchain",
|
||||
"//bun:darwin_x64_toolchain",
|
||||
|
||||
Reference in New Issue
Block a user