Skip to content

Commit

Permalink
add publish target in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
RNAer committed Mar 4, 2017
1 parent 5da54fb commit 59c75ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ else
TEST_COMMAND = nosetests --with-doctest
endif

MSG ?= update documentation

help:
@echo 'Use "make test" to run all the unit tests and docstring tests.'
Expand All @@ -26,5 +27,10 @@ pep8:
flake8 *.py
html:
make -C doc clean html
publish:
make -C doc clean
git clone -b gh-pages --single-branch git@github.com:RNAer/dumpling.git doc/_build/html
make -C doc html
cd doc/_build/html && git add * && git commit -m "MSG" && git push origin gh-pages

all: test pep8 html

0 comments on commit 59c75ec

Please sign in to comment.