2024-02-15 19:15:14 +03:00
|
|
|
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
|
2024-05-06 17:12:57 +03:00
|
|
|
if: <0.34.2
|
2024-02-15 19:15:14 +03:00
|
|
|
- make prefix_install PREFIX={{prefix}} TEMPORARY_FOLDER=$PWD/SourceKitten.dst --jobs={{hw.concurrency}}
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/sourcekitten
|
|
|
|
|
|
|
|
test:
|
2024-05-06 17:12:57 +03:00
|
|
|
env:
|
2024-02-15 19:15:14 +03:00
|
|
|
IN_PROCESS_SOURCEKIT: YES
|
|
|
|
script:
|
|
|
|
- sourcekitten version | grep {{version}}
|
2024-05-06 17:12:57 +03:00
|
|
|
- sourcekitten syntax --text "import Foundation"
|