fix(sourcekitten)

closes #6063
This commit is contained in:
Jacob Heider 2024-05-06 10:12:57 -04:00 committed by Jacob Heider
parent 2f83c779ec
commit b7fdeda472

View file

@ -12,15 +12,15 @@ build:
# https://github.com/jpsim/SourceKitten/pull/794 remove in release > 0.34.1 # https://github.com/jpsim/SourceKitten/pull/794 remove in release > 0.34.1
# fix this issue https://github.com/jpsim/SourceKitten/issues/793 # fix this issue https://github.com/jpsim/SourceKitten/issues/793
- run: patch -p1 < props/patch.diff - run: patch -p1 < props/patch.diff
if: <=0.34.1 if: <0.34.2
- make prefix_install PREFIX={{prefix}} TEMPORARY_FOLDER=$PWD/SourceKitten.dst --jobs={{hw.concurrency}} - make prefix_install PREFIX={{prefix}} TEMPORARY_FOLDER=$PWD/SourceKitten.dst --jobs={{hw.concurrency}}
provides: provides:
- bin/sourcekitten - bin/sourcekitten
test: test:
env: env:
IN_PROCESS_SOURCEKIT: YES IN_PROCESS_SOURCEKIT: YES
script: script:
- sourcekitten version | grep {{version}} - sourcekitten version | grep {{version}}
- sourcekitten syntax --text "import Foundation" - sourcekitten syntax --text "import Foundation"