From 32d5561fb6688055ac6d090e68a73bea24f0cb20 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 25 May 2018 11:26:31 +0200 Subject: [PATCH] add make check --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 22c4018..ceaac02 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,11 @@ api: sed 's/\/src\/target\//https:\/\/github.com\/studio-b12\/gowebdav\/blob\/master\//g' |\ sed 's/^#/##/g' >> README.md +check: + gofmt -w -s $(SRC) + gocyclo -over 15 . + clean: @rm -f ${BIN} -.PHONY: all cmd clean test api +.PHONY: all cmd clean test api check