Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (36 sloc) 1.146 kB
# vim: syntax=Ruby
require 'rubygems'
require 'rake/rdoctask'
require 'rake/testtask'
require File.dirname(__FILE__) + "/lib/memcache/version.rb"
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "memcache-client"
s.version = MemCache::VERSION
s.summary = s.description = "A Ruby library for accessing memcached."
s.email = "mperham@gmail.com"
s.homepage = "http://github.com/mperham/memcache-client"
s.authors = ['Eric Hodel', 'Robert Cottrell', 'Mike Perham']
s.has_rdoc = true
s.files = FileList["[A-Z]*", "{lib,test}/**/*", 'performance.txt']
s.test_files = FileList["test/test_*.rb"]
s.executables = ['memcached_top']
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install jeweler"
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 do |t|
t.warning = true
t.libs = ['lib', 'test']
end
task :default => :test
task :rcov do
`rcov -Ilib test/*.rb`
end
Jump to Line
Something went wrong with that request. Please try again.