From c188ec7ebf36f29805ff1e661ba67047db2e76ee Mon Sep 17 00:00:00 2001 From: Dennis Jekubczyk Date: Mon, 24 May 2021 16:52:00 +0200 Subject: [PATCH] add formating --- Taskfile.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 . ]