chore: remove boilerplate Taskfile
All tasks (test, build, lint, fmt, vet, cov) are handled natively by `core go` commands. Taskfile was redundant wrapper. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
84dff4f708
commit
c9e4bd734b
1 changed files with 0 additions and 46 deletions
46
Taskfile.yml
46
Taskfile.yml
|
|
@ -1,46 +0,0 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
test:
|
|
||||||
desc: Run all tests
|
|
||||||
cmds:
|
|
||||||
- go test ./...
|
|
||||||
|
|
||||||
lint:
|
|
||||||
desc: Run golangci-lint
|
|
||||||
cmds:
|
|
||||||
- golangci-lint run ./...
|
|
||||||
|
|
||||||
fmt:
|
|
||||||
desc: Format all Go files
|
|
||||||
cmds:
|
|
||||||
- gofmt -w .
|
|
||||||
|
|
||||||
vet:
|
|
||||||
desc: Run go vet
|
|
||||||
cmds:
|
|
||||||
- go vet ./...
|
|
||||||
|
|
||||||
build:
|
|
||||||
desc: Build all Go packages
|
|
||||||
cmds:
|
|
||||||
- go build ./...
|
|
||||||
|
|
||||||
cov:
|
|
||||||
desc: Run tests with coverage and open HTML report
|
|
||||||
cmds:
|
|
||||||
- go test -coverprofile=coverage.out ./...
|
|
||||||
- go tool cover -html=coverage.out
|
|
||||||
|
|
||||||
tidy:
|
|
||||||
desc: Tidy go.mod
|
|
||||||
cmds:
|
|
||||||
- go mod tidy
|
|
||||||
|
|
||||||
check:
|
|
||||||
desc: Run fmt, vet, lint, and test in sequence
|
|
||||||
cmds:
|
|
||||||
- task: fmt
|
|
||||||
- task: vet
|
|
||||||
- task: lint
|
|
||||||
- task: test
|
|
||||||
Loading…
Add table
Reference in a new issue