Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 5c59d2a1da
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.724 kB
require 'rake/testtask'
# To get started testing, run `crowd -c test/config load_schema`, in order to
# create and load a fresh test database, and then `rake test`.
desc 'Run all tests'
task :test do
$LOAD_PATH.unshift(File.expand_path('test'))
require 'redgreen' if Gem.available?('redgreen')
require 'test/unit'
Dir['test/**/test_*.rb'].each {|test| require test }
end
namespace :gem do
desc 'Build and install cloud-crowd gem'
task :install do
sh "gem build cloud-crowd.gemspec"
sh "sudo gem install #{Dir['*.gem'].join(' ')} --no-ri --no-rdoc"
end
desc 'Uninstall the cloud-crowd gem'
task :uninstall do
sh "sudo gem uninstall -x cloud-crowd"
end
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.