Skip to content

Commit

Permalink
set buf cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Apr 30, 2024
1 parent 7e5c0dc commit 70f8c50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/protoc-gen-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -eo pipefail

export BUF_CACHE_DIR="/tmp/buf-cache"

echo "Generating gogo proto code"
cd proto
proto_dirs=$(find . -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
Expand Down

0 comments on commit 70f8c50

Please sign in to comment.