fix(xcbeautify)

closes #2595
This commit is contained in:
Jacob Heider 2023-07-16 01:32:38 -04:00
parent 8568e956b5
commit 79a1945b45
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -16,10 +16,13 @@ build:
tea.xyz/gx/cc: c99
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
make install
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/xcbeautify {{prefix}}/bin
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}}