You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
652 B

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 ]