mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
79a1945b45
closes #2595
28 lines
646 B
YAML
28 lines
646 B
YAML
distributable:
|
|
url: https://github.com/tuist/xcbeautify/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: tuist/xcbeautify
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
provides:
|
|
- bin/xcbeautify
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
# swift.org: 5
|
|
# apple.com/xcode: >=13.3
|
|
script:
|
|
# 0.21.0 doesn't have its version bumped
|
|
- run: echo 'let version = "{{version}}"' > Sources/xcbeautify/Version.swift
|
|
if: =0.21.0
|
|
- make install
|
|
- mkdir -p {{prefix}}/bin
|
|
- mv $(swift build --configuration release --show-bin-path)/xcbeautify {{prefix}}/bin
|
|
|
|
test:
|
|
xcbeautify --version | grep {{version}}
|