Skip to content

Commit

Permalink
build: update .licenserc.json to include currency generated files and…
Browse files Browse the repository at this point in the history
… load environment variables in docker-gen-proto.sh
  • Loading branch information
CharlieTLe committed Dec 25, 2024
1 parent 7bb3ebf commit db2b90e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"/src/accounting/src/protos/",
"src/cart/src/obj/",
"src/cart/tests/obj/",
"src/currency/generated/",
"src/checkoutservice/genproto/",
"src/featureflagservice/assets/vendor/",
"src/featureflagservice/priv/",
Expand Down
2 changes: 2 additions & 0 deletions docker-gen-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -x # Print commands and their arguments as they are executed

# This script is used to generate protobuf files for all services with Docker.

. .env

gen_proto_go() {
echo "Generating Go protobuf files for $1"
docker build -f "src/$1/genproto/Dockerfile" -t "$1-genproto" .
Expand Down

0 comments on commit db2b90e

Please sign in to comment.