Docs: remove docs for build-docc
Summary: - Docs: remove docs for build-docc Stats: - 1 file changed, 18 deletions(-)
This commit is contained in:
parent
f085dc9f65
commit
236c92d987
@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
||||||
|
|
||||||
cd "$ROOT_DIR"
|
|
||||||
|
|
||||||
xcodebuild docbuild \
|
|
||||||
-workspace .swiftpm/xcode/package.xcworkspace \
|
|
||||||
-scheme LocalData \
|
|
||||||
-destination 'generic/platform=iOS'
|
|
||||||
|
|
||||||
ARCHIVE_PATH="$(find "${HOME}/Library/Developer/Xcode/DerivedData" -type d -name 'LocalData.doccarchive' 2>/dev/null | sort | tail -n 1)"
|
|
||||||
if [[ -n "${ARCHIVE_PATH}" ]]; then
|
|
||||||
echo "DocC archive: ${ARCHIVE_PATH}"
|
|
||||||
else
|
|
||||||
echo "DocC archive not found in DerivedData."
|
|
||||||
fi
|
|
||||||
Loading…
Reference in New Issue
Block a user