mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
f1bd915135
* +swiftlint * test brewkit fixes * brewkit 0.31.1 --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
26 lines
561 B
YAML
26 lines
561 B
YAML
distributable:
|
|
url: https://github.com/realm/SwiftLint/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: realm/SwiftLint/releases/tags
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
provides:
|
|
- bin/swiftlint
|
|
|
|
warnings:
|
|
- vendored
|
|
|
|
build:
|
|
working-directory: vendor
|
|
script: |
|
|
curl -Lfo swiftlint.zip "https://github.com/realm/SwiftLint/releases/download/{{version}}/portable_swiftlint.zip"
|
|
unzip -o swiftlint.zip
|
|
mkdir -p "{{prefix}}/bin"
|
|
mv swiftlint "{{prefix}}/bin"
|
|
|
|
test:
|
|
script: test "$(swiftlint --version)" = {{version}}
|