Rakefile in bigbench-0.0.5 vs Rakefile in bigbench-0.0.6

- old
+ new

@@ -1,11 +1,16 @@ require "bundler/gem_tasks" require "rack" require "RedCloth" require "redcloth-formatters-rdoc" require "rdoc/task" +require 'rspec/core/rake_task' +RSpec::Core::RakeTask.new(:spec) do |rspec| + rspec.rspec_opts = "-f d", "--color" +end +task :default => :spec desc "Create and open documentation" task :doc do # Compile the readme to the rdoc format @@ -42,10 +47,10 @@ File.delete("README.rdoc") `open doc/index.html` end -desc "Start Thin RDoc Testserver" +desc "Start Thin Testserver" task :server do load "spec/lib/test_web_server.rb" Rack::Handler::Thin.run Sinatra::Application, :Port => 3001 end