Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions unified-doc/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ find "$script_dir/_remotes" -name .git -type d 2>&1 || true


if [ "${CLEAN:-0}" -eq 1 ]; then
echo "bd CLEAN=1 removing remotes root: '$script_dir/_remotes'"
rm -rf "$script_dir/_remotes"
echo "bd CLEAN=1 removing contents of _remotes (preserving package.json)"
find "$script_dir/_remotes" -mindepth 1 -maxdepth 1 ! -name 'package.json' -exec rm -rf {} +
fi

clone_or_update "https://bitbucket.org/netfoundry/zrok-connector.git" frontdoor reusable-doc-plugin
Expand Down Expand Up @@ -349,6 +349,7 @@ if [ -n "${NO_MINIFY:-}" ]; then
MINIFY_FLAG="--no-minify"
echo "bd NO_MINIFY set, using --no-minify"
fi
echo "NO_MINIFY flag: $MINIFY_FLAG"

yarn build $MINIFY_FLAG --out-dir "build${BUILD_QUALIFIER}" 2>&1
popd >/dev/null
Loading