fix(build): output.css needs to exist prior to doc gen

This commit is contained in:
Ionitron
2016-03-11 18:44:14 -06:00
parent 91f36f2217
commit 7dfbb9deb6

View File

@ -22,6 +22,9 @@ function run {
cd .. cd ..
VERSION=$(readJsonProp "package.json" "version") VERSION=$(readJsonProp "package.json" "version")
#compile API Demos
gulp demos --production=true
# process new docs # process new docs
gulp docs --doc-version="$VERSION_NAME" gulp docs --doc-version="$VERSION_NAME"
@ -29,9 +32,6 @@ function run {
gulp docs.sass-variables gulp docs.sass-variables
cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/
#compile API Demos
gulp demos --production=true
# CD in to the site dir to commit updated docs # CD in to the site dir to commit updated docs
cd $SITE_DIR cd $SITE_DIR