-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last bit of housecleaning before attempting to push this version to the BCR. Primarily just updates examples/bzlmod/ to use clarodocs(). Updates the JS related Module deps to not be considered "dev" dependencies as they need to be available for downstream Modules depending on claro-lang. Also fixes the stdlib/cache module so that it correctly builds. Updates the examples/bzlmod/ project to manually place JS related Module deps since it looks like Bazel requires these to be direct deps of downstream projects since the clarodocs() macro references the repos but they aren't known to Bazel from the perspective of a downstream dependent apparently. Updates tools/clarodocs/defs.bzl to use fully qualified `@claro-lang` prefix on all targets listed there since it's referenced by the clarodocs_rules.bzl downstream users will be using.
- Loading branch information
1 parent
7fd8342
commit 97a97c7
Showing
3 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
module(name = "example-claro-module") | ||
|
||
bazel_dep(name = "claro-lang", version = "0.1.502") | ||
bazel_dep(name = "claro-lang", version = "0.1.503") | ||
|
||
# NOTE: These "dev dependencies" are only necessary if you'd like to use ClaroDocs to visualize | ||
# Claro programs as a local dev server. With these dependencies added, you should be able to | ||
# `load("@claro-lang//tools/clarodocs/generator:clarodocs_rules.bzl", "clarodocs")` in your | ||
# BUILD files. Then: `clarodocs(name = ..., root = ":some_claro_binary")` targets can be run. | ||
bazel_dep(name = "aspect_bazel_lib", version = "2.0.1", dev_dependency = True) | ||
bazel_dep(name = "aspect_rules_js", version = "1.38.0", dev_dependency = True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters