+github.com/unsignedapps/swift-create-xcframework (#5148)

* Add swift-create-xcframework

* use install over mkdir/cp

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
David Chavez 2024-02-08 20:30:19 +01:00 committed by GitHub
parent f2cf67eb13
commit 62847a71a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,20 @@
distributable:
url: https://github.com/unsignedapps/swift-create-xcframework/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: unsignedapps/swift-create-xcframework
strip: /^v/
platforms:
- darwin
provides:
- bin/swift-create-xcframework
build:
script:
- swift build --configuration release
- install -D $(swift build --configuration release --show-bin-path)/swift-create-xcframework {{prefix}}/bin/swift-create-xcframework
test: swift create-xcframework --version | grep {{version}}