ohmyzsh/plugins/bazel/bazel.plugin.zsh
Markus Hofbauer 9991822f8c
All checks were successful
CI / Run tests (push) Has been skipped
feat(bazel): add bzlmod integrity gen function (#12797)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-11-19 21:20:58 +01:00

9 lines
206 B
Bash

# Aliases for bazel
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-/'
}