Skip to content

Commit e1130d0

Browse files
committed
Tweak the build toolchain
Signed-off-by: moznion <[email protected]>
1 parent a7af6f8 commit e1130d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ lint:
1010
staticcheck ./...
1111

1212
fmt:
13-
gofmt -w -s *.go
14-
goimports -w *.go
13+
gofmt -w -s **/*.go *.go
14+
goimports -w */**.go *.go
1515

1616
fmt-check:
17-
goimports -l *.go | grep [^*][.]go$$; \
17+
goimports -l **/*.go *.go | grep [^*][.]go$$; \
1818
EXIT_CODE=$$?; \
1919
if [ $$EXIT_CODE -eq 0 ]; then exit 1; fi
2020

0 commit comments

Comments
 (0)