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:
Alessio Treglia
2020-07-03 20:50:14 +02:00
committed by GitHub
parent 849429ecda
commit 80e53a4d89
3 changed files with 17 additions and 14 deletions
+3 -3
View File
@@ -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)