1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

own Taskfile: add task "todo" to print TODOs in code

This commit is contained in:
Andrey Nering 2017-07-15 13:57:39 -03:00
parent ef2695974d
commit e781ac2512
2 changed files with 11 additions and 0 deletions

View File

@ -10,6 +10,7 @@ dl-deps:
cmds:
- go get -u github.com/golang/lint/golint
- go get -u github.com/goreleaser/goreleaser
- go get -u github.com/asticode/go-astitodo/astitodo
- go get -u github.com/golang/dep/cmd/dep
update-deps:
@ -46,3 +47,8 @@ test-release:
desc: Tests release process without publishing
cmds:
- goreleaser --skip-validate --skip-publish
todo:
desc: Prints TODO comments present in the code
cmds:
- astitodo {{.GO_PACKAGES}}

View File

@ -1 +1,6 @@
GIT_COMMIT: $git log -n 1 --format=%h
GO_PACKAGES:
.
./cmd/task
./execext