+xcodes; fix brewkit deps (#1462)

* +xcodes; fix brewkit deps

* wip

* update flags

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Max Howell 2023-05-18 17:42:43 -04:00 committed by GitHub
parent a3105e31ea
commit 899e3c215c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
distributable:
url: https://github.com/RobotsAndPencils/xcodes/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: RobotsAndPencils/xcodes
companions:
aria2.github.io: '*'
platforms:
- darwin
provides:
- bin/xcodes
build:
dependencies:
tea.xyz/gx/cc: c99
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
swift build --configuration release
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/xcodes {{prefix}}/bin
test:
xcodes version | grep {{version}}