Browse Source

add formating

migrate-to-golang
Dennis Jekubczyk 3 years ago
parent
commit
c188ec7ebf
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      Taskfile.yml

+ 9
- 3
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 . ]

Loading…
Cancel
Save