mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
3be6d5839d
* Fix SwiftGen * remove double download --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
25 lines
578 B
YAML
25 lines
578 B
YAML
distributable:
|
|
# FIXME: vendoring
|
|
#url: https://github.com/SwiftGen/SwiftGen/archive/refs/tags/{{version}}.tar.gz
|
|
#strip-components: 1
|
|
url: https://github.com/SwiftGen/SwiftGen/releases/download/{{version}}/swiftgen-{{version}}.zip
|
|
|
|
versions:
|
|
github: SwiftGen/SwiftGen/releases/tags
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
provides:
|
|
- bin/swiftgen
|
|
|
|
warnings:
|
|
- vendored
|
|
|
|
build:
|
|
working-directory: ${{prefix}}/bin
|
|
script: cp -a "$SRCROOT"/bin/swiftgen "$SRCROOT"/bin/SwiftGen_SwiftGenCLI.bundle .
|
|
|
|
test:
|
|
script: |
|
|
[[ "$(swiftgen --version)" = "SwiftGen v{{version}}"* ]]
|