pantry/projects/github.com/XcodesOrg/xcodes/package.yml
2023-10-01 20:41:57 -04:00

27 lines
520 B
YAML

distributable:
url: https://github.com/XcodesOrg/xcodes/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: XcodesOrg/xcodes
companions:
aria2.github.io: '*'
platforms:
- darwin
provides:
- bin/xcodes
build:
# dependencies:
# 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}}