mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
fix doc generation script (#1773)
motivation: generate docs changes: use a more robust path to source-kitten
This commit is contained in:
1 parent
990b82d698
commit
bd41bd5cf5
1 file changed
+1
-1
@@ -31,7 +31,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then
|
||||
if [[ ! -d "$source_kitten_source_path" ]]; then
|
||||
git clone https://github.com/jpsim/SourceKitten.git "$source_kitten_source_path"
|
||||
fi
|
||||
source_kitten_path="$source_kitten_source_path/.build/x86_64-unknown-linux/debug"
|
||||
source_kitten_path="$source_kitten_source_path/.build/debug"
|
||||
if [[ ! -d "$source_kitten_path" ]]; then
|
||||
rm -rf "$source_kitten_source_path/.swift-version"
|
||||
cd "$source_kitten_source_path" && swift build && cd "$root_path"
|
||||
|
||||
Reference in new issue
Block a user