Skip to content

Commit

Permalink
Use an explicit default make target/goal
Browse files Browse the repository at this point in the history
Why be implicit when you can be explicit?
  • Loading branch information
mckern committed Jun 7, 2024
1 parent 6e32e9f commit 414826d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ MOQ := $(shell command -v moq 2> /dev/null)
SRC := $(shell find . -name '*.go')
GOLANGCI_LINT := $(shell command -v golangci-lint 2> /dev/null)

# don't rely on target ordering to define a default make goal
.DEFAULT_GOAL := test

test: store/awsapi_mock.go
go test -v ./...

Expand Down

0 comments on commit 414826d

Please sign in to comment.