diff options
Diffstat (limited to 'lib/testtools/Makefile')
-rw-r--r-- | lib/testtools/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/testtools/Makefile b/lib/testtools/Makefile index 0ad6f131d1..c36fbd8012 100644 --- a/lib/testtools/Makefile +++ b/lib/testtools/Makefile @@ -16,15 +16,20 @@ clean: rm -f TAGS tags find testtools -name "*.pyc" -exec rm '{}' \; -release: +prerelease: # An existing MANIFEST breaks distutils sometimes. Avoid that. -rm MANIFEST + +release: ./setup.py sdist upload --sign +snapshot: prerelease + ./setup.py sdist + apidocs: pydoctor --make-html --add-package testtools \ --docformat=restructuredtext --project-name=testtools \ --project-url=https://launchpad.net/testtools -.PHONY: check clean release apidocs +.PHONY: check clean prerelease release apidocs |