build: add buf breaking chages target to makefile

This commit is contained in:
Lorenzo Delgado 2022-11-15 11:37:41 +01:00
parent a9fad01f42
commit a697e8e37f
No known key found for this signature in database
GPG Key ID: 3F2308060F9292F9

View File

@ -1,12 +1,18 @@
.DEFAULT_GOAL := build
.DEFAULT_GOAL := all
all: lint build
all: lint breaking
format:
@buf format -w
lint:
@echo "Running buf lint"
@buf lint
breaking:
@echo "Running buf breaking changes checks"
@buf breaking --against="https://github.com/vacp2p/waku.git#branch=main"
build:
@buf build
@echo "Running buf compilation"
@buf build