Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 439 Bytes
# vim: syntax=Ruby
require 'rubygems'
require 'rake/rdoctask'
require 'rake/testtask'
task :gem do
sh "gem build memcache-client.gemspec"
end
task :install => [:gem] do
sh "sudo gem install memcache-client-*.gem"
end
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.rdoc_dir = 'doc'
end
Rake::TestTask.new
task :default => :test
task :rcov do
`rcov -Ilib test/*.rb`
end
Jump to Line
Something went wrong with that request. Please try again.