Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (27 sloc) 0.584 kb
task :default => :test
task :test => ["test:unit", "test:integration"]
namespace :test do
desc "run unit tests"
task :unit do
sh "nosetests tests/unit"
end
desc "run integration tests"
task :integration do
sh "nosetests tests/integration"
end
end
task :clean do
rm_rf "build"
rm_rf "dist"
rm_f "MANIFEST"
end
namespace :pypi do
desc "Register the package with PyPI"
task :register => :clean do
sh "python setup.py register"
end
desc "Upload a new version to PyPI"
task :upload => :clean do
sh "python setup.py sdist upload"
end
end
Jump to Line
Something went wrong with that request. Please try again.