Rakefile in nofxx-postgis_adapter-0.1.2 vs Rakefile in nofxx-postgis_adapter-0.1.7
- old
+ new
@@ -35,20 +35,13 @@
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# task :default => [:spec, :features]
-
desc 'Default: run specs.'
task :default => :spec
-#desc 'Run the specs'
-#Spec::Rake::SpecTask.new(:spec) do |t|
-# t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
-# t.spec_files = FileList['spec/**/*_spec.rb']
-#end
-
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*_spec.rb']
t.spec_opts = ['--options', 'spec/spec.opts']
unless ENV['NO_RCOV']
@@ -72,10 +65,10 @@
desc "Generate the documentation"
Rake::RDocTask::new do |rdoc|
rdoc.rdoc_dir = 'doc/'
rdoc.title = "PostGIS Adapter for Rails Documentation"
rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README.markdown')
+ rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
# From Rspec Rakefile
#