File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ Package.resolved
4
4
DerivedData
5
5
.DS_Store
6
6
.swiftpm /
7
+ .SourceKitten
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
30
30
if [[ ! -d " $source_kitten_source_path " ]]; then
31
31
git clone https://github.com/jpsim/SourceKitten.git " $source_kitten_source_path "
32
32
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"
34
34
if [[ ! -d " $source_kitten_path " ]]; then
35
35
rm -rf " $source_kitten_source_path /.swift-version"
36
36
cd " $source_kitten_source_path " && swift build && cd " $root_path "
@@ -39,7 +39,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
39
39
mkdir -p " $root_path /.build/sourcekitten"
40
40
for module in " ${modules[@]} " ; do
41
41
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"
43
43
fi
44
44
done
45
45
fi
You can’t perform that action at this time.
0 commit comments