Skip to content

Commit

Permalink
Add PyPi RsT formatting check to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
casebeer committed May 28, 2016
1 parent eef2f14 commit 184dee2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ docs: README.html
README.html: README.rst
pandoc $^ > $@

register:
register: checkmetadata
python setup.py register

upload:
upload: checkmetadata
python setup.py sdist upload --sign -r https://pypi.python.org/pypi

checkmetadata:
python setup.py check -s --restructuredtext

clean:
find . -type f -name '*.pyc' -print0 | xargs -0 rm -f --
rm -rf *.egg-info
Expand Down

0 comments on commit 184dee2

Please sign in to comment.