mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +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 changed files with 6 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
|||
distributable:
|
||||
url: https://github.com/SwiftGen/SwiftGen/archive/refs/tags/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
# 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
|
||||
|
@ -15,12 +17,8 @@ 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"
|
||||
working-directory: ${{prefix}}/bin
|
||||
script: cp -a "$SRCROOT"/bin/swiftgen "$SRCROOT"/bin/SwiftGen_SwiftGenCLI.bundle .
|
||||
|
||||
test:
|
||||
script: |
|
||||
|
|
Loading…
Reference in a new issue