mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
2c9d8e681c
closes #4787 closes #4771 closes #4770
31 lines
771 B
YAML
31 lines
771 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:
|
|
# swift.org: 5
|
|
# apple.com/xcode: >=13.3
|
|
script:
|
|
# swift freaks all the way out if there's UTF-8 in the `TMPDIR`
|
|
# swift build --configuration=release
|
|
# TSCUtility/Triple.swift:215: Fatal error: Failed to parse target info (malformed).
|
|
- export TMPDIR=$(mktemp -d)
|
|
|
|
# 0.21.0 doesn't have its version bumped
|
|
- run: echo 'let version = "{{version}}"' > Sources/xcbeautify/Version.swift
|
|
if: '>=0.21.0'
|
|
- make install
|
|
env:
|
|
PREFIX: '{{prefix}}'
|
|
|
|
test: xcbeautify --version | grep {{version}}
|