mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
Fix github.com/SwiftGen/SwiftGen crash (#2652)
* Fix SwiftGen * remove double download --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
59fb64f849
commit
3be6d5839d
|
@ -1,6 +1,8 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/SwiftGen/SwiftGen/archive/refs/tags/{{version}}.tar.gz
|
# FIXME: vendoring
|
||||||
strip-components: 1
|
#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:
|
versions:
|
||||||
github: SwiftGen/SwiftGen/releases/tags
|
github: SwiftGen/SwiftGen/releases/tags
|
||||||
|
@ -15,12 +17,8 @@ warnings:
|
||||||
- vendored
|
- vendored
|
||||||
|
|
||||||
build:
|
build:
|
||||||
working-directory: vendor
|
working-directory: ${{prefix}}/bin
|
||||||
script: |
|
script: cp -a "$SRCROOT"/bin/swiftgen "$SRCROOT"/bin/SwiftGen_SwiftGenCLI.bundle .
|
||||||
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:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in a new issue