2023-05-19 00:42:43 +03:00
|
|
|
distributable:
|
2023-06-28 13:39:44 +03:00
|
|
|
url: https://github.com/XcodesOrg/xcodes/archive/refs/tags/{{version}}.tar.gz
|
2023-05-19 00:42:43 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-06-28 13:39:44 +03:00
|
|
|
github: XcodesOrg/xcodes
|
2023-05-19 00:42:43 +03:00
|
|
|
|
|
|
|
companions:
|
|
|
|
aria2.github.io: '*'
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
- darwin
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/xcodes
|
|
|
|
|
|
|
|
build:
|
2023-10-02 03:41:57 +03:00
|
|
|
# dependencies:
|
|
|
|
# swift.org: 5
|
|
|
|
# apple.com/xcode: >=13.3
|
2023-05-19 00:42:43 +03:00
|
|
|
script: |
|
|
|
|
swift build --configuration release
|
|
|
|
mkdir -p {{prefix}}/bin
|
|
|
|
mv $(swift build --configuration release --show-bin-path)/xcodes {{prefix}}/bin
|
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
test: xcodes version | grep {{version}}
|