buildsystem: various small improvements (#6598)
Follow-up of #6101. - Makefile: Set all as actual default target. - contrib/devtools/Makefile: The buf target was running unconditionally. Install protoc-gen-gocosmos along with protoc.
This commit is contained in:
@@ -14,17 +14,17 @@ DOCKER_BUF := docker run -v $(shell pwd):/workspace --workdir /workspace bufbuil
|
||||
|
||||
export GO111MODULE = on
|
||||
|
||||
all: tools build lint test
|
||||
|
||||
# The below include contains the tools and runsim targets.
|
||||
include contrib/devtools/Makefile
|
||||
|
||||
all: tools build lint test
|
||||
|
||||
###############################################################################
|
||||
### Build ###
|
||||
###############################################################################
|
||||
|
||||
build: go.sum
|
||||
@go build -mod=readonly ./...
|
||||
go build -mod=readonly ./...
|
||||
|
||||
build-sim: go.sum
|
||||
mkdir -p $(BUILDDIR)
|
||||
|
||||
Reference in New Issue
Block a user