diff --git a/Makefile b/Makefile index 45e6bc9931..a4e4936d78 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/indexer/packages/v4-protos/package.json b/indexer/packages/v4-protos/package.json index 218e59d134..b67cea8e61 100644 --- a/indexer/packages/v4-protos/package.json +++ b/indexer/packages/v4-protos/package.json @@ -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",