update edge docs when changes are made to jasmine

This commit is contained in:
Charles Hansen and Gregg Van Hove
2014-02-25 10:42:59 -08:00
parent 31d71ac22f
commit 23c0e379e0

View File

@@ -1,3 +1,18 @@
#!/bin/bash -e
git clone https://github.com/jasmine/jasmine.github.io.git
bundle exec rake jasmine:ci JASMINE_CONFIG_PATH=jasmine.github.io/2.0/spec/support/jasmine.yml
mkdir -p jasmine.github.io/edge/lib
cp lib/jasmine-core/{boot.js,jasmine-html.js,jasmine.js,jasmine.css} jasmine.github.io/edge/lib/
cp lib/console/console.js jasmine.github.io/edge/lib/
cd jasmine.github.io
export JASMINE_VERSION=edge
CODE=`bundle exec rake phantom`
if [ $TRAVIS_PULL_REQUEST == false ]
then
git push origin master
fi
exit $CODE