add make check

This commit is contained in:
Christoph Polcin 2018-05-25 11:26:31 +02:00
parent d6b82df09a
commit 32d5561fb6

View File

@ -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