summaryrefslogtreecommitdiff
path: root/vendor/github.com/microcosm-cc/bluemonday/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/microcosm-cc/bluemonday/Makefile')
-rw-r--r--vendor/github.com/microcosm-cc/bluemonday/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/microcosm-cc/bluemonday/Makefile b/vendor/github.com/microcosm-cc/bluemonday/Makefile
index dcd042a71..97e9541d6 100644
--- a/vendor/github.com/microcosm-cc/bluemonday/Makefile
+++ b/vendor/github.com/microcosm-cc/bluemonday/Makefile
@@ -6,7 +6,7 @@
# fmt-check: Check if the source files are formated
# build: Builds the code locally
# vet: Vets the code
-# lint: Runs lint over the code (you do not need to fix everything)
+# staticcheck: Runs staticcheck over the code
# test: Runs the tests
# cover: Gives you the URL to a nice test coverage report
#
@@ -33,8 +33,8 @@ build:
vet:
@go vet
-lint:
- @golint *.go
+staticcheck:
+ @staticcheck ./...
test:
@go test -v ./...
@@ -42,7 +42,7 @@ test:
cover: COVERAGE_FILE := coverage.out
cover:
@go test -coverprofile=$(COVERAGE_FILE) && \
- cover -html=$(COVERAGE_FILE) && rm $(COVERAGE_FILE)
+ go tool cover -html=$(COVERAGE_FILE) && rm $(COVERAGE_FILE)
install:
@go install ./...