diff --git a/Taskfile.yml b/Taskfile.yml index 9a17c6a..64f31f7 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -14,18 +14,24 @@ tasks: world: desc: run - literally - evertyhing ;) cmds: + - task: format - task: lint - task: test - task: vendor - task: build - test: - cmds: [ go test ./... ] + format: + desc: format go-sources + cmds: [ go fmt ./... ] lint: - desc: lint + desc: lint go-sources cmds: [ third_party/golangci-lint/golangci-lint run ] + test: + cmds: [ go test ./... ] + + build: desc: build cmds: [ docker image build -t jaedle/mirror-to-gitea:development -f build/Dockerfile . ]