Rakefile in clickatell-0.4.0 vs Rakefile in clickatell-0.4.1

- old
+ new

@@ -89,10 +89,11 @@ desc 'Generate website files' task :website_generate do Dir['website/**/*.txt'].each do |txt| sh %{ ruby scripts/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} } end + sh "rake -s spec:html > website/specs.html" end desc 'Upload website files to rubyforge' task :website_upload do host = "#{rubyforge_username}@rubyforge.org" @@ -145,9 +146,15 @@ end desc "Run the specs under spec in specdoc format" Spec::Rake::SpecTask.new('doc') do |t| t.spec_opts = ['--format', "specdoc"] + t.spec_files = FileList['spec/*_spec.rb'] + end + + desc "Run the specs in HTML format" + Spec::Rake::SpecTask.new('html') do |t| + t.spec_opts = ['--format', "html"] t.spec_files = FileList['spec/*_spec.rb'] end end desc "Default task is to run specs"