diff options
| author | Marcel Hellkamp <marc@gsites.de> | 2012-10-27 23:04:37 +0200 |
|---|---|---|
| committer | Marcel Hellkamp <marc@gsites.de> | 2012-10-28 00:11:15 +0200 |
| commit | 9cd6fe3a27dca7dfe0dff0aed1499b7739f962ba (patch) | |
| tree | 0dcd62c601f31afa3dcfece78222e1806268f9f6 /Makefile | |
| parent | 08117068cc22b540241c2ca330382d77e4910223 (diff) | |
| parent | 26ac343788ac4dd2bbdcf8d6734411a495571b17 (diff) | |
| download | bottle-context.tar.gz | |
Merge branch 'master' into context-mergecontext
Conflicts:
bottle.py
test/test_environ.py
test/test_sendfile.py
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -2,14 +2,18 @@ PATH := build/python/bin:$(PATH) VERSION = $(shell python setup.py --version) ALLFILES = $(shell echo bottle.py test/*.py test/views/*.tpl) -.PHONY: release install docs test test_all test_25 test_26 test_27 test_31 test_32 2to3 clean +.PHONY: release install docs test test_all test_25 test_26 test_27 test_31 test_32 test_33 2to3 clean release: test_all python setup.py --version | egrep -q -v '[a-zA-Z]' # Fail on dev/rc versions git commit -e -m "Release of $(VERSION)" # Fail on nothing to commit git tag -a -m "Release of $(VERSION)" $(VERSION) # Fail on existing tags + git push origin HEAD # Fail on out-of-sync upstream + git push origin tag $(VERSION) # Fail on dublicate tag python setup.py sdist register upload # Release to pypi - echo "Do not forget to: git push --tags" + +push: test_all + git push origin HEAD install: python setup.py install @@ -21,7 +25,7 @@ test: which python python test/testall.py -test_all: test_25 test_26 test_27 test_31 test_32 +test_all: test_25 test_26 test_27 test_31 test_32 test_33 test_25: python2.5 test/testall.py @@ -38,6 +42,9 @@ test_31: test_32: python3.2 test/testall.py +test_33: + python3.3 test/testall.py + clean: find . -name '*.pyc' -exec rm -f {} + find . -name '*.pyo' -exec rm -f {} + |
