Skip to content

Commit

Permalink
rake tasks for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
braintreeps committed Jun 27, 2012
1 parent 0af4e88 commit edc0e9c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Rakefile
@@ -1,5 +1,18 @@
task :clean do
rm_rf "build"
rm_rf "dist"
rm_f "MANIFEST"
end

task :test do
sh "nosetests test/"
end

namespace :pypi do
desc "Upload a new version to PyPI"
task :upload => :clean do
sh "python setup.py sdist upload"
end
end

task :default => ['test']

0 comments on commit edc0e9c

Please sign in to comment.