mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
parent
3d2d80e1f7
commit
d851fed0fa
1 changed files with 25 additions and 0 deletions
25
projects/github.com/nicklockwood/SwiftFormat/package.yml
Normal file
25
projects/github.com/nicklockwood/SwiftFormat/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/nicklockwood/SwiftFormat/archive/refs/tags/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: nicklockwood/SwiftFormat
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
provides:
|
||||
- bin/swiftformat
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
# swift.org: 5
|
||||
# apple.com/xcode: >=13.3
|
||||
script: |
|
||||
swift build --configuration release
|
||||
mkdir -p {{prefix}}/bin
|
||||
mv $(swift build --configuration release --show-bin-path)/swiftformat {{prefix}}/bin
|
||||
|
||||
test:
|
||||
swiftformat --version | grep {{version}}
|
Loading…
Reference in a new issue