Rakefile in rconf-1.0.6 vs Rakefile in rconf-1.0.7
- old
+ new
@@ -22,13 +22,10 @@
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"]
@@ -65,6 +62,9 @@
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' ]