mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
aab8fe07de
closes #4960
31 lines
640 B
YAML
31 lines
640 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 || >=2.1.7
|
|
- run: install "$SRCROOT"/sourcery-{{version}}/bin/sourcery .
|
|
if: '>=2.1.4<2.1.7'
|
|
|
|
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
|