pantry/projects/tuist.io/xcbeautify/package.yml
Jacob Heider 1f1c6ffae0
fix(xcbeautify)
closes #4611
2023-12-27 16:26:24 -05:00

27 lines
538 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:
# 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}}