Rakefile in clipboard-0.9.3 vs Rakefile in clipboard-0.9.4
- old
+ new
@@ -1,8 +1,14 @@
require 'rake'
require 'rake/rdoctask'
require 'fileutils'
+task :default => :spec
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = '--backtrace --color'
+end
+
def gemspec
@gemspec ||= eval(File.read('clipboard.gemspec'), binding, 'clipboard.gemspec')
end
desc "Build the gem"