|
|
version: '3'
silent: true
tasks:
install:
desc: install tools required for development or build
cmds: [ task: install-golangci-lint ]
install-golangci-lint:
desc: install golangci-lint
cmds: [ third_party/golangci-lint/download.sh ]
world:
desc: run - literally - evertyhing ;)
cmds:
- task: lint
- task: test
- task: build
test:
cmds: [ go test ./... ]
lint:
desc: lint
cmds: [ third_party/golangci-lint/golangci-lint run ]
build:
desc: build
cmds: [ docker image build -t jaedle/mirror-to-gitea:development -f build/Dockerfile . ]
default:
cmds: [ task: world ]
|