Skip to content

Commit 4285576

Browse files
authored
Update generate-documentation
1 parent 5e9c0f4 commit 4285576

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Scripts/generate-documentation

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,11 @@ cd "$PROJECT_ROOT"
100100

101101
# Temporarily move the Xcode workspace aside so that xcodebuild uses the Swift package directly
102102
mkdir "$TEMP_WORKSPACE_DIR"
103-
mv Parse.xcworkspace "$TEMP_WORKSPACE_DIR/Parse.xcworkspace"
104103

105-
xcodebuild clean build -scheme ParseServerSwift\ \(iOS\) \
106-
-destination generic/platform=iOS \
104+
xcodebuild clean build -scheme ParseServerSwift \
105+
-destination generic/platform=macOS \
107106
OTHER_SWIFT_FLAGS="-emit-symbol-graph -emit-symbol-graph-dir '$SGFS_DIR'" | xcpretty
108107

109-
mv "$TEMP_WORKSPACE_DIR/Parse.xcworkspace" ./Parse.xcworkspace
110108
rm -r "$TEMP_WORKSPACE_DIR"
111109

112110
# Pretty print DocC JSON output so that it can be consistently diffed between commits
@@ -118,7 +116,7 @@ EXTRA_DOCC_FLAGS="--index"
118116
# If building for publishing, don't pass the --index flag but pass additional flags for
119117
# static hosting configuration.
120118
if [ "$PUBLISH" = "YES" ]; then
121-
EXTRA_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path Parse-Swift/$HOSTING_BASE_PATH"
119+
EXTRA_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path parse-server-swift/$HOSTING_BASE_PATH"
122120
fi
123121

124122
# Handle the case where a DocC catalog does not exist in the ParseServerSwift repo

0 commit comments

Comments
 (0)