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.

28 lines
517 B

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. test:
  16. cmds: [ go test ./... ]
  17. lint:
  18. desc: lint app
  19. cmds: [ third_party/golangci-lint/golangci-lint run ]
  20. default:
  21. cmds: [ task: world ]