Skip to content

Commit

Permalink
Added more cleanup code and sdist/bdist options - not that bdist is u…
Browse files Browse the repository at this point in the history
…seful
  • Loading branch information
mahtin committed Oct 17, 2016
1 parent 06e5fcc commit c1ead41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PANDOC = pandoc
PYLINT = pylint

EMAIL = "mahtin@mahtin.com"
NAME = "cloudflare"

all: README.rst build

Expand All @@ -23,6 +24,13 @@ sdist: all
make clean
make test
$(PYTHON) setup.py sdist
rm -rf ${NAME}.egg-info

bdist: all
make clean
make test
$(PYTHON) setup.py bdist
rm -rf ${NAME}.egg-info

upload: clean all
$(PYTHON) setup.py sdist upload --sign --identity="$(EMAIL)"
Expand All @@ -35,4 +43,5 @@ clean:
rm -rf dist
mkdir build dist
$(PYTHON) setup.py clean
rm -rf ${NAME}.egg-info

0 comments on commit c1ead41

Please sign in to comment.