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:
parent
ef2695974d
commit
e781ac2512
@ -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}}
|
||||
|
@ -1 +1,6 @@
|
||||
GIT_COMMIT: $git log -n 1 --format=%h
|
||||
|
||||
GO_PACKAGES:
|
||||
.
|
||||
./cmd/task
|
||||
./execext
|
||||
|
Loading…
Reference in New Issue
Block a user