summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36e62e5..1605733 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
MOD=ricketyspace.net/cryptopals
PKGS=${MOD} ${MOD}/challenge ${MOD}/lib
-build: fmt vet
+build: fmt fix vet
go build
.PHONY: build
@@ -9,6 +9,10 @@ fmt:
go fmt ${PKGS}
.PHONY: fmt
+fix:
+ go fix ./...
+.PHONY: fix
+
vet:
go vet ./...
.PHONY: vet