mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
574616fdee
closes #4867
31 lines
627 B
YAML
31 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
|