|
@ -14,18 +14,24 @@ tasks: |
|
|
world: |
|
|
world: |
|
|
desc: run - literally - evertyhing ;) |
|
|
desc: run - literally - evertyhing ;) |
|
|
cmds: |
|
|
cmds: |
|
|
|
|
|
- task: format |
|
|
- task: lint |
|
|
- task: lint |
|
|
- task: test |
|
|
- task: test |
|
|
- task: vendor |
|
|
- task: vendor |
|
|
- task: build |
|
|
- task: build |
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|
cmds: [ go test ./... ] |
|
|
|
|
|
|
|
|
format: |
|
|
|
|
|
desc: format go-sources |
|
|
|
|
|
cmds: [ go fmt ./... ] |
|
|
|
|
|
|
|
|
lint: |
|
|
lint: |
|
|
desc: lint |
|
|
|
|
|
|
|
|
desc: lint go-sources |
|
|
cmds: [ third_party/golangci-lint/golangci-lint run ] |
|
|
cmds: [ third_party/golangci-lint/golangci-lint run ] |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|
cmds: [ go test ./... ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
build: |
|
|
desc: build |
|
|
desc: build |
|
|
cmds: [ docker image build -t jaedle/mirror-to-gitea:development -f build/Dockerfile . ] |
|
|
cmds: [ docker image build -t jaedle/mirror-to-gitea:development -f build/Dockerfile . ] |
|
|