mirror of
https://github.com/go-task/task.git
synced 2026-06-26 06:06:07 +00:00
own Taskfile: add task "todo" to print TODOs in code
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user