2017-03-03 02:06:52 +02:00
|
|
|
# compiles current source code and make "task" executable available on
|
|
|
|
# $GOPATH/bin/task{.exe}
|
2017-02-28 23:50:29 +02:00
|
|
|
install:
|
2017-03-19 20:18:59 +02:00
|
|
|
desc: Installs Task
|
2017-02-28 23:50:29 +02:00
|
|
|
cmds:
|
|
|
|
- go install -v ./...
|
|
|
|
|
2017-04-24 15:39:24 +02:00
|
|
|
dl-deps:
|
2017-04-24 15:46:42 +02:00
|
|
|
desc: Downloads cli dependencies
|
2017-04-24 15:39:24 +02:00
|
|
|
cmds:
|
|
|
|
- go get -u github.com/golang/lint/golint
|
2017-04-24 15:48:57 +02:00
|
|
|
- go get -u github.com/goreleaser/goreleaser
|
2017-04-24 15:39:24 +02:00
|
|
|
|
2017-03-03 02:06:52 +02:00
|
|
|
lint:
|
2017-03-19 20:18:59 +02:00
|
|
|
desc: Runs golint
|
2017-03-03 02:06:52 +02:00
|
|
|
cmds:
|
|
|
|
- golint .
|
2017-04-24 15:25:38 +02:00
|
|
|
- golint ./execext
|
2017-03-03 02:06:52 +02:00
|
|
|
- golint ./cmd/task
|
|
|
|
|
2017-02-28 23:50:29 +02:00
|
|
|
test:
|
2017-03-19 20:18:59 +02:00
|
|
|
desc: Runs test suite
|
2017-03-16 02:15:27 +02:00
|
|
|
deps: [install]
|
2017-02-28 23:50:29 +02:00
|
|
|
cmds:
|
|
|
|
- go test -v
|
|
|
|
|
|
|
|
# https://github.com/goreleaser/goreleaser
|
|
|
|
release:
|
2017-03-19 20:18:59 +02:00
|
|
|
desc: Release Task
|
2017-02-28 23:50:29 +02:00
|
|
|
cmds:
|
|
|
|
- goreleaser
|