From f7bad73c02ce9bc5661c86b6af796e7093d1d743 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Tue, 15 Nov 2022 11:44:18 +0100 Subject: [PATCH] build: add buf breaking chages target to makefile --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c96470e..6662f22 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + @echo "Running buf compilation" + @buf build