blob: 0811ff64997678114f0cb2f64d296b702e1a3602 [file] [log] [blame]
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
# This makefile is just a cheatsheet to remind me of some commonly used
# commands. I generally am executing these commands on Ubuntu, or on WindowsXP
# with Cygwin binaries at the start of the PATH.
-rm -rf build dist MANIFEST colorama.egg-info
-find . -name '*.py[oc]' -exec rm {} \;
.PHONY: clean
sdist: clean
python sdist --formats=zip,gztar
.PHONY: sdist
register: clean
python sdist --formats=zip,gztar register
python bdist_wheel register
.PHONY: release
upload: clean
python sdist --formats=zip,gztar register upload
python bdist_wheel register upload
.PHONY: release
python -m unittest discover -p *
.PHONY: test
ctags -R ${NAME}
.PHONY: tags