diff --git a/projects/github.com/RobotsAndPencils/xcodes/package.yml b/projects/github.com/RobotsAndPencils/xcodes/package.yml new file mode 100644 index 00000000..b9b0de82 --- /dev/null +++ b/projects/github.com/RobotsAndPencils/xcodes/package.yml @@ -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}}