Skip to content

Commit

Permalink
Fix proto gen artifact cleaning (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx authored Dec 7, 2023
1 parent f50246e commit 23a6709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ proto-check-bc-breaking:
@$(protoImage) buf breaking --against .git#branch=$$(git merge-base HEAD origin/main)

proto-export:
@rm -rf proto/.proto-export && cd proto && buf export --config ./buf.yaml --output ../.proto-export
@rm -rf ./.proto-export && cd proto && buf export --config ./buf.yaml --output ../.proto-export

proto-export-deps:
@rm -rf ./.proto-export-deps
Expand Down
2 changes: 1 addition & 1 deletion indexer/packages/v4-protos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build:watch": "pnpm run build -- --watch",
"test": "echo \"Error: no test specified\"",
"build:proto": "(cd ../../.. && make proto-export) && rm -rf src/codegen && telescope transpile --protoDirs ../../../.proto-export --outPath ./src/codegen --no-includeAminos --includeLCDClients --includeRPCClients",
"build:verify-proto": "pnpm run build:proto && git diff --exit-code src/codegen/dydxprotocol"
"build:verify-proto": "pnpm run build:proto && git diff --exit-code src/codegen"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 23a6709

Please sign in to comment.