feat(bazel): add bzlmod integrity gen function (#12797)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Markus HofbauerandCarlo Sala authored and GitHub committed 2024-11-19 21:20:58 +01:00
1 parent 1b9d6e5c82
commit 9991822f8c
2 files changed
+18 -7

No files matched your search

+4
View File
@@ -3,3 +3,7 @@ alias bzb='bazel build'
alias bzt='bazel test'
alias bzr='bazel run'
alias bzq='bazel query'
sri-hash() {
openssl dgst -sha256 -binary $1 | openssl base64 -A | sed 's/^/sha256-/'
}