Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.7.2
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.716 kb
# 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
task :clean do
sh "rm -f memcache-client-*.gem"
end
task :publish => [:clean, :gem, :install] do
require 'lib/memcache'
sh "rubyforge add_release seattlerb memcache-client #{MemCache::VERSION} memcache-client-#{MemCache::VERSION}.gem"
end
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "FAQ.rdoc", "History.rdoc", "lib/memcache.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.