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:
|
2023-10-02 03:41:57 +03:00
|
|
|
# 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
|
2023-11-17 06:17:34 +03:00
|
|
|
if: '>=0.21.0'
|
2023-07-16 08:32:38 +03:00
|
|
|
- make install
|
2023-12-28 00:26:24 +03:00
|
|
|
env:
|
|
|
|
PREFIX: '{{prefix}}'
|
2023-06-27 18:41:50 +03:00
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
test: xcbeautify --version | grep {{version}}
|