pantry/projects/tuist.io/xcbeautify/package.yml

27 lines
623 B
YAML
Raw Normal View History

2023-06-27 18:41:50 +03:00
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
2023-07-16 08:32:38 +03:00
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
2023-06-27 18:41:50 +03:00
test: xcbeautify --version | grep {{version}}