Skip to content

Commit

Permalink
Merge pull request #81 from ivanvc/add-missing-makefile-phony-targets
Browse files Browse the repository at this point in the history
make: ensure phony targets are set
  • Loading branch information
ahrtr authored Sep 16, 2024
2 parents a1bb0ad + 9100693 commit 32cd1c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ all: gofail
clean:
rm -f gofail

.PHONY: verify
verify: verify-gofmt

.PHONY: verify-gofmt
Expand All @@ -19,12 +20,13 @@ verify-gofmt:
test:
go test -v --race -cpu=1,2,4 ./code/ ./runtime/

.PHONY: fix
fix: fix-gofmt

.PHONY: fix-gofmt
fix-gofmt:
gofmt -w .

gofail:
gofail:
GO_BUILD_FLAGS="-v" ./build.sh
./gofail --version

0 comments on commit 32cd1c8

Please sign in to comment.