Skip to content

Commit

Permalink
Alias 'make' to 'make vendor fmt lint' (#2152)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
denik authored Jan 15, 2025
1 parent b76eee0 commit 983a8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default: build
default: vendor fmt lint

PACKAGES=./acceptance/... ./libs/... ./internal/... ./cmd/... ./bundle/... .

Expand Down

0 comments on commit 983a8a6

Please sign in to comment.