Check gofmt in make test

This commit is contained in:
Junegunn Choi committed 2021-02-28 18:28:21 +09:00
1 parent c256442245
commit bb0502ff44
6 files changed
+13 -12

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ endif
all: target/$(BINARY)
test: $(SOURCES)
[ -z "$$(gofmt -s -d src)" ] || (gofmt -s -d src; exit 1)
SHELL=/bin/sh GOOS= $(GO) test -v -tags "$(TAGS)" \
github.com/junegunn/fzf/src \
github.com/junegunn/fzf/src/algo \