forked from tartley/colorama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (26 loc) · 831 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.
NAME=colorama
clean:
-rm -rf build dist MANIFEST colorama.egg-info
-find . -name '*.py[oc]' -exec rm {} \;
.PHONY: clean
sdist: clean
python setup.py sdist --formats=zip,gztar
.PHONY: sdist
register: clean
python setup.py sdist --formats=zip,gztar register
python setup.py bdist_wheel register
.PHONY: release
upload: clean
python setup.py sdist --formats=zip,gztar register upload
python setup.py bdist_wheel register upload
.PHONY: release
test:
python -m unittest discover -p *_test.py
.PHONY: test
tags:
ctags -R ${NAME}
.PHONY: tags