mirror of
https://github.com/go-task/task.git
synced 2024-12-14 10:52:43 +02:00
25 lines
408 B
YAML
25 lines
408 B
YAML
# compiles current source code and make "task" executable available on
|
|
# $GOPATH/bin/task{.exe}
|
|
install:
|
|
desc: Installs Task
|
|
cmds:
|
|
- go install -v ./...
|
|
|
|
lint:
|
|
desc: Runs golint
|
|
cmds:
|
|
- golint .
|
|
- golint ./cmd/task
|
|
|
|
test:
|
|
desc: Runs test suite
|
|
deps: [install]
|
|
cmds:
|
|
- go test -v
|
|
|
|
# https://github.com/goreleaser/goreleaser
|
|
release:
|
|
desc: Release Task
|
|
cmds:
|
|
- goreleaser
|