Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 364 Bytes
require "rubygems"
require "rake/testtask"
require "rake/gempackagetask"
task :default => :test
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList["test/test_*.rb"]
t.verbose = true
end
Rake::GemPackageTask.new(eval(IO.read(File.join(File.dirname(__FILE__), "textorize.gemspec")))) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end