blob: 3813bf44b6bb4b74507806203e51c7884a8e69c5 [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