forked from ns1/ns1-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix up git hook installer it was linking to a path that doesn't exist * add `make fmt` target since the pre-commit hook's error message tells you to run that
- Loading branch information
rupa
authored
Nov 26, 2019
1 parent
9a39ef6
commit 25b9eac
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
all: | ||
|
||
fmt: | ||
go fmt ./... | ||
|
||
test: | ||
go fmt ./... | ||
go vet ./... | ||
golint ./... | ||
go test ./... | ||
|
||
.PHONY: all test | ||
.PHONY: all fmt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters