mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
+swiftgen (#1550)
* +swiftgen +swiftgen * fix(strace) --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
3e904a73f9
commit
3aa5f5741e
1 changed files with 27 additions and 0 deletions
27
projects/github.com/SwiftGen/SwiftGen/package.yml
Normal file
27
projects/github.com/SwiftGen/SwiftGen/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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}}"* ]]
|
Loading…
Reference in a new issue