From a8e2551d797dc3cb8baea552d2f6eff0da0094e1 Mon Sep 17 00:00:00 2001 From: caseylove Date: Tue, 16 Jul 2024 13:52:58 +0800 Subject: [PATCH] ci(Makefile): add missing help msg of Makefile target `update` (#1440) --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d3b86cd8c4..21b1085187 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ help: ## Display this help message @grep -h \ -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \ awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' -update: +update: ## Update dependencies go work sync cd $(PWD)/bridge-history-api/ && go get -u github.com/scroll-tech/go-ethereum@${L2GETH_TAG} && go mod tidy cd $(PWD)/common/ && go get -u github.com/scroll-tech/go-ethereum@${L2GETH_TAG}&& go mod tidy @@ -15,14 +15,14 @@ update: cd $(PWD)/rollup/ && go get -u github.com/scroll-tech/go-ethereum@${L2GETH_TAG} && go mod tidy cd $(PWD)/tests/integration-test/ && go get -u github.com/scroll-tech/go-ethereum@${L2GETH_TAG} && go mod tidy -lint: ## The code's format and security checks. +lint: ## The code's format and security checks make -C rollup lint make -C common lint make -C coordinator lint make -C database lint make -C bridge-history-api lint -fmt: ## format the code +fmt: ## Format the code go work sync cd $(PWD)/bridge-history-api/ && go mod tidy cd $(PWD)/common/ && go mod tidy @@ -38,7 +38,7 @@ fmt: ## format the code goimports -local $(PWD)/rollup/ -w . goimports -local $(PWD)/tests/integration-test/ -w . -dev_docker: ## build docker images for development/testing usages +dev_docker: ## Build docker images for development/testing usages docker pull postgres docker build -t scroll_l1geth ./common/testcontainers/docker/l1geth/ docker build -t scroll_l2geth ./common/testcontainers/docker/l2geth/