summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-11-25 19:08:49 -0500
committersiddharth ravikumar <s@ricketyspace.net>2022-11-25 19:08:49 -0500
commitd7cd879e7c7323f8d1a3c296bf08c7eb2288001d (patch)
treeff3b7ecd95c506ce107e9ae98cb7fb24ef864ecd /Makefile
parent8dbe36fc9bd52d8163516f7eba603be4d660a918 (diff)
Makefile: add `fix`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f43641d..2765550 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,15 @@
MOD=ricketyspace.net/fern
-fern: fmt
+fern: fmt fix
go build
fmt:
go fmt ./...
+fix:
+ go fix ./...
+
test:
go test -v ${MOD}/db
.PHONY: test