bazel-starlib
bazel-starlib copied to clipboard
Rules, macros, and APIs that are useful for the implementation of Bazel repositories.
Options/Considerations - Add the test declarations under a test directory that reference the Starlark files - Leverage aspects.
https://github.com/cgrindel/bazel-starlib/tree/string_flag_rules
Tasks - [ ] Refactor find/fix missing pkgs for `bzlformat` to a shared utility `//bzllib/tools`. - [ ] Update `bzlformat` find/fix to use the shared utility. - [ ] Implement...
A [portion of the Slack thread](https://bazelbuild.slack.com/archives/CA31HN1T3/p1635869373188700?thread_ts=1635275059.092200&cid=CA31HN1T3) where the request was made is captured below --- lukedirtwalker 6 hours ago Pretty cool stuff, thanks, started to use that in our repo....
Consider a pattern where the filegroup is called `runfiles`. Exclude any markdown files.
Based upon [this SIG conversation](https://github.com/bazel-contrib/SIG-rules-authors/issues/11#issuecomment-1029861300), using `archive/vX.X.X.tar.gz` is not guaranteed to be stable from GitHub.
Example ```bash # Ensure args with spaces works properly. args=("hello world" "chicken smidgen" "howdy, joe") actual=( $( double_quote_items "${args[@]}" ) ) assert_equal 3 ${#actual[@]} assert_equal "\"hello world\"" "${actual[0]}" assert_equal "\"chicken...