1
0
mirror of https://github.com/vanng822/go-premailer.git synced 2025-02-06 10:23:54 +00:00

Adding gocyclo check

This commit is contained in:
Van Nhu Nguyen 2019-05-04 08:36:38 +02:00
parent 5591781d79
commit 8ce1e1100a
2 changed files with 7 additions and 1 deletions

View File

@ -22,4 +22,4 @@ install:
- go get github.com/stretchr/testify/assert
script:
- make test
- make gocyclo_all test

View File

@ -7,5 +7,11 @@ test_premailer:
test_cmd-%:
cd cmd/$* && go test -v -cover
gocyclo_all:
make -j gocyclo-premailer gocyclo-cmd-script gocyclo-cmd-server
gocyclo-%:
gocyclo -avg -over 15 $(subst -,/,$*)
bench:
cd premailer && go test -bench=.