Skip to content

Commit

Permalink
Add gh-pages update command
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Sep 4, 2018
1 parent a18b190 commit 45a7ea4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@ test:
py.test -v brainpy --cov=brainpy --cov-report=html --cov-report term

retest:
py.test -v brainpy --lf
py.test -v brainpy --lf

update-docs:
git checkout gh-pages
git pull origin master
cd docs && make clean
cd docs && make html
git add docs/_build/html -f
git commit -m "update docs"
git push origin gh-pages
git checkout master

0 comments on commit 45a7ea4

Please sign in to comment.