mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
29 lines
590 B
YAML
29 lines
590 B
YAML
distributable:
|
|
url: 'https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz'
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: mxcl/swift-sh
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
# dependencies:
|
|
# swift.org: 5
|
|
|
|
build:
|
|
# dependencies:
|
|
# swift.org: 5
|
|
# apple.com/xcode: >=11
|
|
script:
|
|
- swift build --disable-sandbox -c release
|
|
- mkdir -p {{prefix}}/bin
|
|
- mv $(swift build --configuration release --show-bin-path)/swift-sh {{prefix}}/bin
|
|
|
|
provides:
|
|
- bin/swift-sh
|
|
|
|
test:
|
|
- echo "#!/usr/bin/env swift sh" > test.swift
|
|
- swift-sh eject test.swift
|
|
- test -e Test/Package.swift
|