There is no need to require rake inside the rakefile
This commit is contained in:
parent
e911a57322
commit
97d7cf9ef6
5
Rakefile
5
Rakefile
|
@ -1,8 +1,7 @@
|
|||
# encoding: UTF-8
|
||||
require 'rake'
|
||||
|
||||
require 'rake/testtask'
|
||||
require 'rake/rdoctask'
|
||||
require File.join(File.dirname(__FILE__), 'lib', 'simple_form', 'version')
|
||||
|
||||
desc 'Default: run unit tests.'
|
||||
task :default => :test
|
||||
|
@ -22,4 +21,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|||
rdoc.options << '--line-numbers' << '--inline-source'
|
||||
rdoc.rdoc_files.include('README.rdoc')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue