Commit 81cfd3d3 authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

make: Add go mod tidy command (#2603)

This command runs `go mod tidy` in every bedrock go module.
This enables easier updating of self-dependent modules.
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 1c269e88
...@@ -34,6 +34,14 @@ op-proposer: ...@@ -34,6 +34,14 @@ op-proposer:
make -C ./op-proposer op-proposer make -C ./op-proposer op-proposer
.PHONY: op-proposer .PHONY: op-proposer
mod-tidy:
cd ./op-node && go mod tidy && cd .. && \
cd ./op-proposer && go mod tidy && cd .. && \
cd ./op-batcher && go mod tidy && cd .. && \
cd ./op-bindings && go mod tidy && cd .. && \
cd ./op-e2e && go mod tidy && cd ..
.PHONY: mod-tidy
contracts: contracts:
cd ./contracts-bedrock && yarn install && yarn build cd ./contracts-bedrock && yarn install && yarn build
.PHONY: contracts .PHONY: contracts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment