pantry/projects/github.com/krzysztofzablocki/Sourcery/package.yml
Jacob Heider 574616fdee
fix(sourcery)
closes #4867
2024-01-16 13:18:10 -05:00

32 lines
627 B
YAML

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:
- run: install "$SRCROOT"/bin/sourcery .
if: <2.1.4
- run: install "$SRCROOT"/sourcery-{{version}}/bin/sourcery .
if: '>=2.1.4'
test:
- run: test "$(sourcery --version)" = "{{version}}"
if: <2.1.4
# 2.1.4 has the wrong version
- run: sourcery --version
if: '>=2.1.4'
display-name: Sourcery