mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Update build-docs.sh
This commit is contained in:
@ -12,6 +12,7 @@ archive_dist_dir() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
npm_install() {
|
npm_install() {
|
||||||
|
echo "npm_install called"
|
||||||
# Don't install modules twice.
|
# Don't install modules twice.
|
||||||
|
|
||||||
MARKER_FILE="./node_modules/installed"
|
MARKER_FILE="./node_modules/installed"
|
||||||
@ -19,6 +20,7 @@ npm_install() {
|
|||||||
npm install
|
npm install
|
||||||
npm install @types/handlebars@4.0.33
|
npm install @types/handlebars@4.0.33
|
||||||
touch "$MARKER_FILE"
|
touch "$MARKER_FILE"
|
||||||
|
echo "npm_install installed successfully"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,6 +53,8 @@ rm -rf "$TARGET_DIR"
|
|||||||
mkdir -p "$TARGET_DIR"
|
mkdir -p "$TARGET_DIR"
|
||||||
|
|
||||||
if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
|
if [ "${BASH_SOURCE[0]}" == "$0" ] ; then
|
||||||
|
echo "about to extract_snippets"
|
||||||
extract_snippets
|
extract_snippets
|
||||||
|
echo "about to extract_apiref"
|
||||||
extract_apiref
|
extract_apiref
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user