1 require 'rake/testtask'
3 desc 'Clean up generated files'
5 sh 'rm -rf *.gem doc/html .yardoc'
9 desc 'Generate HTML documentation'
11 sh 'yardoc --protected --private --output-dir doc/html'
16 task :build => :clean do
17 sh 'gem build *.gemspec'
21 desc 'Install the gem locally (user install)'
22 task :install => :build do
23 sh 'gem install mailshears-*.gem'
26 Rake::TestTask.new do |t|
27 t.pattern = 'test/test*.rb'
32 task :default => :test