golangci-lint/Makefile
Denis Isaev 898ae4d364 fix #277, fix #260: fix crash
Fix crash because of parallel access to ssa.Program
2018-11-10 16:20:49 +03:00

32 lines
815 B
Makefile

test:
go build -o golangci-lint ./cmd/golangci-lint
GL_TEST_RUN=1 ./golangci-lint run -v
GL_TEST_RUN=1 ./golangci-lint run --fast --no-config -v
GL_TEST_RUN=1 ./golangci-lint run --no-config -v
GL_TEST_RUN=1 go test -v ./...
test_race:
go build -race -o golangci-lint ./cmd/golangci-lint
GL_TEST_RUN=1 ./golangci-lint run -v --deadline=5m
test_linters:
GL_TEST_RUN=1 go test -v ./test -count 1 -run TestSourcesFromTestdataWithIssuesDir/$T
assets:
svg-term --cast=183662 --out docs/demo.svg --window --width 110 --height 30 --from 2000 --to 20000 --profile Dracula --term iterm2
readme:
go run ./scripts/gen_readme/main.go
gen:
go generate ./...
check_generated:
make readme && git diff --exit-code # check no changes
release:
rm -rf dist
curl -sL https://git.io/goreleaser | bash
.PHONY: test