[WORKSPACE] fix
8 files changed
tree: 54908eaec311acd08bfd5805fa310547729e49b9
  1. .bcr/
  2. .devcontainer/
  3. .github/
  4. docs/
  5. e2e/
  6. probe_rs_tools/
  7. .bazelignore
  8. .bazelrc
  9. .bazelversion
  10. .gitattributes
  11. .gitignore
  12. .pre-commit-config.yaml
  13. .prettierignore
  14. BUILD.bazel
  15. CONTRIBUTING.md
  16. LICENSE
  17. MODULE.bazel
  18. MODULE.bazel.lock
  19. README.md
  20. renovate.json
  21. WORKSPACE.bazel
README.md

Bazel rules for probe_rs_tools

Installation

From the release you wish to use: https://github.com/hexdae/probe_rs_tools/releases copy the WORKSPACE snippet into your WORKSPACE file.

To use a commit rather than a release, you can point at any SHA of the repo.

For example to use commit abc123:

  1. Replace url = "https://github.com/hexdae/probe_rs_tools/releases/download/v0.1.0/probe_rs_tools-v0.1.0.tar.gz" with a GitHub-provided source archive like url = "https://github.com/hexdae/probe_rs_tools/archive/abc123.tar.gz"
  2. Replace strip_prefix = "probe_rs_tools-0.1.0" with strip_prefix = "probe_rs_tools-abc123"
  3. Update the sha256. The easiest way to do this is to comment out the line, then Bazel will print a message with the correct value. Note that GitHub source archives don't have a strong guarantee on the sha256 stability, see https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/