diff options
| author | 2023-10-16 09:02:31 +0000 | |
|---|---|---|
| committer | 2023-10-16 09:02:31 +0000 | |
| commit | 48725f722883d303dbdc9e077c598c07e8565f41 (patch) | |
| tree | af1320b7c61b7a5d9ab1bacd3a24796a306914c4 /vendor/github.com/microcosm-cc/bluemonday/Makefile | |
| parent | [chore]: Bump golang.org/x/net from 0.16.0 to 0.17.0 (#2262) (diff) | |
| download | gotosocial-48725f722883d303dbdc9e077c598c07e8565f41.tar.xz | |
[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26 (#2266)
Diffstat (limited to 'vendor/github.com/microcosm-cc/bluemonday/Makefile')
| -rw-r--r-- | vendor/github.com/microcosm-cc/bluemonday/Makefile | 8 |
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 ./... |
