Merge pull request #751 from wren-lang/0.3.0-refactor

0.3.0 refactor
This commit is contained in:
ruby
2020-06-05 14:57:20 -07:00
committed by GitHub
parent 6ab4abe9e3
commit d585a080e8
476 changed files with 13159 additions and 93444 deletions

View File

@ -1,13 +1,21 @@
#!/bin/bash
set -e
WREN_PY="python3"
if [ -n "$WREN_PY_BINARY" ]
then
WREN_PY="$WREN_PY_BINARY"
fi
# Install the Wren Pygments lexer.
cd util/pygments-lexer
sudo python3 setup.py develop
sudo $WREN_PY setup.py develop
cd ../..
# Build the docs.
make gh-pages
mkdir -p build
$WREN_PY ./util/generate_docs.py
cp -r build/docs/. build/gh-pages
# Clone the repo at the gh-pages branch.
git clone https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG} gh-pages-repo \