Skip to content

Commit f0d7bea

Browse files
authored
Merge pull request #419 from blinklabs-io/chore/makefile-format-golines
chore: make targets for format and golines
2 parents abd12a4 + 6e34c5c commit f0d7bea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ mod-tidy:
1919
clean:
2020
rm -f $(BINARIES)
2121

22+
format:
23+
go fmt ./...
24+
25+
golines:
26+
golines -w --ignore-generated --chain-split-dots --max-len=80 --reformat-tags .
27+
2228
test:
2329
go test -v ./...
2430

0 commit comments

Comments
 (0)