Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions projects/github.com/peripheryapp/periphery/package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributable:
url: https://github.com/peripheryapp/periphery/archive/refs/tags/{{version}}.tar.gz
url: https://github.com/peripheryapp/periphery/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1

versions:
Expand All @@ -9,8 +9,8 @@ platforms:
- darwin

dependencies:
curl.se: '*'
gnome.org/libxml2: '*'
curl.se: "*"
gnome.org/libxml2: "*"

build:
# dependencies:
Expand All @@ -26,7 +26,7 @@ build:
- run:
- swift build $SWIFT_ARGS
- install -Dt {{prefix}}/bin .build/release/periphery
if: '>=3'
if: ">=3"
env:
SWIFT_ARGS:
- --configuration release
Expand All @@ -43,8 +43,8 @@ provides:

test:
dependencies:
gnu.org/sed: '*'
crates.io/semverator: '*'
gnu.org/sed: "*"
crates.io/semverator: "*"
# darwin:
# apple.com/xcode: '>=15.3'
# linux:
Expand All @@ -56,7 +56,13 @@ test:
if ! semverator satisfies '>=5.10' $SWIFT_VERSION; then
echo 'skipping test: swift version too old'
exit 0
fi
fi
- run: |
if ! test -f /usr/lib/swift/libswiftSynchronization.dylib; then
echo 'skipping test: missing libswiftSynchronization.dylib'
exit 0
fi
if: ">=3.4"
- swift package init --name test --type executable
- swift build --disable-sandbox
- swift package --disable-sandbox describe --type json | tee manifest.json
Expand Down