File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ Package.resolved
44DerivedData
55.DS_Store
66.swiftpm /
7+ .SourceKitten
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
3030 if [[ ! -d " $source_kitten_source_path " ]]; then
3131 git clone https://github.com/jpsim/SourceKitten.git " $source_kitten_source_path "
3232 fi
33- source_kitten_path=" $source_kitten_source_path /.build/x86_64-unknown-linux/ debug"
33+ source_kitten_path=" $source_kitten_source_path /.build/debug"
3434 if [[ ! -d " $source_kitten_path " ]]; then
3535 rm -rf " $source_kitten_source_path /.swift-version"
3636 cd " $source_kitten_source_path " && swift build && cd " $root_path "
@@ -39,7 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
3939 mkdir -p " $root_path /.build/sourcekitten"
4040 for module in " ${modules[@]} " ; do
4141 if [[ ! -f " $root_path /.build/sourcekitten/$module .json" ]]; then
42- " $source_kitten_path /sourcekitten" doc --spm- module $module > " $root_path /.build/sourcekitten/$module .json"
42+ " $source_kitten_path /sourcekitten" doc --spm -- module-name $module > " $root_path /.build/sourcekitten/$module .json"
4343 fi
4444 done
4545fi
You can’t perform that action at this time.
0 commit comments