mirror of
https://github.com/ivabus/pantry
synced 2024-12-02 13:05:08 +03:00
3aa5f5741e
* +swiftgen +swiftgen * fix(strace) --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
27 lines
585 B
YAML
27 lines
585 B
YAML
distributable:
|
|
url: https://github.com/SwiftGen/SwiftGen/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: SwiftGen/SwiftGen/releases/tags
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
provides:
|
|
- bin/swiftgen
|
|
|
|
warnings:
|
|
- vendored
|
|
|
|
build:
|
|
working-directory: vendor
|
|
script: |
|
|
curl -Lfo swiftgen.zip "https://github.com/SwiftGen/SwiftGen/releases/download/{{version}}/swiftgen-{{version}}.zip"
|
|
unzip swiftgen.zip
|
|
mkdir -p "{{prefix}}/bin"
|
|
mv bin/swiftgen "{{prefix}}/bin"
|
|
|
|
test:
|
|
script: |
|
|
[[ "$(swiftgen --version)" = "SwiftGen v{{version}}"* ]]
|