mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
77fdc32a2e
* new file: projects/github.com/jpsim/SourceKitten/package.yml new file: projects/github.com/jpsim/SourceKitten/patch.diff new file: projects/github.com/jpsim/SourceKitten/test.swift * patch comment
26 lines
No EOL
656 B
YAML
26 lines
No EOL
656 B
YAML
distributable:
|
|
url: git+https://github.com/jpsim/SourceKitten.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: jpsim/SourceKitten
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
build:
|
|
# https://github.com/jpsim/SourceKitten/pull/794 remove in release > 0.34.1
|
|
# fix this issue https://github.com/jpsim/SourceKitten/issues/793
|
|
- run: patch -p1 < props/patch.diff
|
|
if: <=0.34.1
|
|
- make prefix_install PREFIX={{prefix}} TEMPORARY_FOLDER=$PWD/SourceKitten.dst --jobs={{hw.concurrency}}
|
|
|
|
provides:
|
|
- bin/sourcekitten
|
|
|
|
test:
|
|
env:
|
|
IN_PROCESS_SOURCEKIT: YES
|
|
script:
|
|
- sourcekitten version | grep {{version}}
|
|
- sourcekitten syntax --text "import Foundation" |