mirror of
				https://github.com/go-task/task.git
				synced 2025-10-30 23:58:01 +02: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}} | ||||
|   | ||||
| @@ -1 +1,6 @@ | ||||
| GIT_COMMIT: $git log -n 1 --format=%h | ||||
|  | ||||
| GO_PACKAGES: | ||||
|   . | ||||
|   ./cmd/task | ||||
|   ./execext | ||||
|   | ||||
		Reference in New Issue
	
	Block a user