1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00
task/Taskfile.yml
2017-06-14 14:00:07 -03:00

38 lines
680 B
YAML

# compiles current source code and make "task" executable available on
# $GOPATH/bin/task{.exe}
install:
desc: Installs Task
cmds:
- go install -v ./...
dl-deps:
desc: Downloads cli dependencies
cmds:
- go get -u github.com/golang/lint/golint
- go get -u github.com/goreleaser/goreleaser
- go get -u github.com/golang/dep/cmd/dep
update-deps:
cmds:
- dep ensure
- dep prune
lint:
desc: Runs golint
cmds:
- golint .
- golint ./execext
- 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