mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
62aa1fe955
commit
612cd6abbb
|
@ -23,4 +23,11 @@ build:
|
||||||
mv swiftlint "{{prefix}}/bin"
|
mv swiftlint "{{prefix}}/bin"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: test "$(swiftlint --version)" = {{version}}
|
# MacOS 11 doesn't have the necessary library
|
||||||
|
- run: |
|
||||||
|
if ! test -f /usr/lib/swift/libswift_Concurrency.dylib; then
|
||||||
|
echo "warning: skipping tests because libswift_Concurrency.dylib is missing"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
if: darwin
|
||||||
|
- test "$(swiftlint --version)" = {{version}}
|
||||||
|
|
Loading…
Reference in a new issue