add make check
This commit is contained in:
parent
d6b82df09a
commit
32d5561fb6
6
Makefile
6
Makefile
@ -20,7 +20,11 @@ api:
|
|||||||
sed 's/\/src\/target\//https:\/\/github.com\/studio-b12\/gowebdav\/blob\/master\//g' |\
|
sed 's/\/src\/target\//https:\/\/github.com\/studio-b12\/gowebdav\/blob\/master\//g' |\
|
||||||
sed 's/^#/##/g' >> README.md
|
sed 's/^#/##/g' >> README.md
|
||||||
|
|
||||||
|
check:
|
||||||
|
gofmt -w -s $(SRC)
|
||||||
|
gocyclo -over 15 .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f ${BIN}
|
@rm -f ${BIN}
|
||||||
|
|
||||||
.PHONY: all cmd clean test api
|
.PHONY: all cmd clean test api check
|
||||||
|
Loading…
Reference in New Issue
Block a user