Commit 8e2b1142 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix: makefile build command (#11466)

Build command inside of the root-level makefile was calling
build-ts which no longer exists. Adds a new command to build
contracts-bedrock and replaces that inside of the root build
command.
parent 42b8711b
......@@ -9,12 +9,16 @@ PYTHON?=python3
help: ## Prints this help message
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build: build-go build-ts ## Builds both Go and TypeScript components
build: build-go build-contracts ## Builds Go components and contracts-bedrock
.PHONY: build
build-go: submodules op-node op-proposer op-batcher ## Builds op-node, op-proposer and op-batcher
.PHONY: build-go
build-contracts:
(cd packages/contracts-bedrock && just build)
.PHONY: build-contracts
lint-go: ## Lints Go code with specific linters
golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...
.PHONY: lint-go
......
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