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

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. version: '3'
  2. silent: true
  3. tasks:
  4. install:
  5. desc: install tools required for development or build
  6. cmds: [ task: install-golangci-lint ]
  7. install-golangci-lint:
  8. desc: install golangci-lint
  9. cmds: [ third_party/golangci-lint/download.sh ]
  10. world:
  11. desc: run - literally - evertyhing ;)
  12. cmds:
  13. - task: lint
  14. - task: test
  15. - task: build
  16. test:
  17. cmds: [ go test ./... ]
  18. lint:
  19. desc: lint
  20. cmds: [ third_party/golangci-lint/golangci-lint run ]
  21. build:
  22. desc: build
  23. cmds: [ docker image build -t jaedle/mirror-to-gitea:development -f build/Dockerfile . ]
  24. default:
  25. cmds: [ task: world ]