diff --git a/.bazelignore b/.bazelignore index 23758d5..cc2e998 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1 +1,2 @@ +example/ tests/bcr diff --git a/.bazelversion b/.bazelversion index fcdb2e1..03f488b 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -4.0.0 +5.3.0 diff --git a/MODULE.bazel b/MODULE.bazel index 0c7fd57..791b86f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,5 +3,10 @@ module( version = "0.2.0", ) +bazel_dep(name = "bazel_skylib", version = "1.2.1") + +bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", version = "0.5.1") + linter = use_extension("//lint:extensions.bzl", "linter") + use_repo(linter, "apple_linters") diff --git a/WORKSPACE b/WORKSPACE index d6e1dd1..af1a36e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,8 +4,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", - sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", - url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz", + ], + sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506", ) load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") @@ -14,9 +17,11 @@ bazel_skylib_workspace() http_archive( name = "io_bazel_stardoc", - sha256 = "87eab53c2f1378ebec022f89097e56351e8b008a10433a0e1db660bd27aa46a9", - strip_prefix = "stardoc-8275ced1b6952f5ad17ec579a5dd16e102479b72", - url = "https://github.com/bazelbuild/stardoc/archive/8275ced1b6952f5ad17ec579a5dd16e102479b72.zip", + sha256 = "05fb57bb4ad68a360470420a3b6f5317e4f722839abc5b17ec4ef8ed465aaa47", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz", + "https://github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz", + ], ) load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")