distributable:
  url: https://github.com/krzysztofzablocki/Sourcery/releases/download/{{version}}/Sourcery-{{version}}.zip

versions:
  github: krzysztofzablocki/Sourcery

platforms:
  - darwin

provides:
  - bin/sourcery

warnings:
  - vendored

build:
  working-directory: ${{prefix}}/bin
  script: mv "$SRCROOT"/bin/sourcery .

test: |
  [[ "$(sourcery --version)" = "{{version}}" ]]

display-name: Sourcery
