Rakefile in rconf-1.0.7 vs Rakefile in rconf-1.0.8
- old
+ new
@@ -22,10 +22,13 @@
rescue LoadError => e
warn "Older RDoc detected; falling back to legacy RDoc+Rake bindings"
require 'rake/rdoctask'
end
+task :default => 'spec'
+task :build => [ 'spec', 'gem' ]
+
# == Unit Tests == #
desc "Run unit tests"
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ["--color --format=nested"]
@@ -62,9 +65,6 @@
Rake::RDocTask.new do |rd|
rd.rdoc_dir = 'doc/rdocs'
rd.main = 'README.rdoc'
rd.rdoc_files.include 'README.rdoc', "lib/**/*.rb"
end
-
-task :default => 'spec'
-task :build => [ 'spec', 'gem' ]