Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs: update gh-pages script again

  • Loading branch information...
commit 65e88eaa75ecded75afebbec3d3fc962f95a128d 1 parent a78c682
@TooTallNate authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 docs/gh-pages.sh
View
9 docs/gh-pages.sh
@@ -1,11 +1,12 @@
#!/bin/sh
DIR=`dirname $0`
+TMP_DOC_DIR="/tmp/ref_docs"
npm run docs \
- && rm -rf /tmp/ref_docs \
- && mkdir -p /tmp/ref_docs \
- && cp -Lrf {"$DIR/index.html","$DIR/images","$DIR/scripts","$DIR/stylesheets"} /tmp/ref_docs \
+ && rm -rf $TMP_DOC_DIR \
+ && mkdir -p $TMP_DOC_DIR \
+ && cp -Lrf {"$DIR/index.html","$DIR/images","$DIR/scripts","$DIR/stylesheets"} $TMP_DOC_DIR \
&& git checkout gh-pages \
- && cp -Lrf /tmp/ref_docs/* . \
+ && cp -Lrf $TMP_DOC_DIR/* . \
&& echo "done"
Please sign in to comment.
Something went wrong with that request. Please try again.