From 983a8a66337b4a032343451d6b4b924833eb8bf2 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Wed, 15 Jan 2025 11:41:06 +0100 Subject: [PATCH] Alias 'make' to 'make vendor fmt lint' (#2152) The current default of building a binary is not frequently used. The new default is useful after switching branches, stashing/unstashing, AI changes. Note "fmt" and "lint" are separate steps because "fmt" can fix formatting and imports in presence of compilation errors and "lint" cannot. Without compilation errors, "lint" also does formatting. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e5067b5d..37cf5567c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -default: build +default: vendor fmt lint PACKAGES=./acceptance/... ./libs/... ./internal/... ./cmd/... ./bundle/... .