mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): test for api DIR before clearining it
This commit is contained in:
@ -37,7 +37,9 @@ function run {
|
|||||||
./node_modules/.bin/gulp demos --production=true
|
./node_modules/.bin/gulp demos --production=true
|
||||||
|
|
||||||
# process new docs
|
# process new docs
|
||||||
|
if [ -d "$DOCS_DEST/api" ]; then
|
||||||
rm -R $DOCS_DEST/api
|
rm -R $DOCS_DEST/api
|
||||||
|
fi
|
||||||
./node_modules/.bin/gulp docs --doc-version="$VERSION_NAME"
|
./node_modules/.bin/gulp docs --doc-version="$VERSION_NAME"
|
||||||
|
|
||||||
# compile sass vars json for ionic-site docs
|
# compile sass vars json for ionic-site docs
|
||||||
|
Reference in New Issue
Block a user