Sha256: 87c0e3a520cbd76916997e29789c720a809d2fb419dd1c69e723404ff712a421
Contents?: true
Size: 684 Bytes
Versions: 7
Compression:
Stored size: 684 Bytes
Contents
# 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", "lib/**/*.rb") rd.rdoc_dir = 'doc' end Rake::TestTask.new task :default => :test task :rcov do `rcov -Ilib test/*.rb` end
Version data entries
7 entries across 7 versions & 4 rubygems