mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
2c9d8e681c
commit
5aab62f2fc
|
@ -15,9 +15,14 @@ build:
|
||||||
# dependencies:
|
# dependencies:
|
||||||
# swift.org: 5
|
# swift.org: 5
|
||||||
# apple.com/xcode: >=13.3
|
# apple.com/xcode: >=13.3
|
||||||
script: |
|
script:
|
||||||
swift build --configuration release
|
# swift freaks all the way out if there's UTF-8 in the `TMPDIR`
|
||||||
mkdir -p {{prefix}}/bin
|
# swift build --configuration=release
|
||||||
mv $(swift build --configuration release --show-bin-path)/swiftformat {{prefix}}/bin
|
# TSCUtility/Triple.swift:215: Fatal error: Failed to parse target info (malformed).
|
||||||
|
- export TMPDIR=$(mktemp -d)
|
||||||
|
|
||||||
|
- swift build --configuration release
|
||||||
|
- mkdir -p {{prefix}}/bin
|
||||||
|
- mv $(swift build --configuration release --show-bin-path)/swiftformat {{prefix}}/bin
|
||||||
|
|
||||||
test: swiftformat --version | grep {{version}}
|
test: swiftformat --version | grep {{version}}
|
||||||
|
|
Loading…
Reference in a new issue