]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/validates_email_format_of/rakefile.rb
Use validates_email_format_of as a gem instead of a plugin
[rails.git] / vendor / plugins / validates_email_format_of / rakefile.rb
diff --git a/vendor/plugins/validates_email_format_of/rakefile.rb b/vendor/plugins/validates_email_format_of/rakefile.rb
deleted file mode 100644 (file)
index bac695f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-desc 'Default: run unit tests.'
-task :default => [:clean_log, :test]
-
-desc 'Remove the old log file'
-task :clean_log do
-  "rm -f #{File.dirname(__FILE__)}/test/debug.log" if File.exists?(File.dirname(__FILE__) + '/test/debug.log')
-end
-
-desc 'Test the validates_email_format_of plugin.'
-Rake::TestTask.new(:test) do |t|
-  t.libs << 'lib'
-  t.pattern = 'test/**/*_test.rb'
-  t.verbose = true
-end
-
-desc 'Generate documentation for the validates_email_format_of plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
-  rdoc.rdoc_dir = 'rdoc'
-  rdoc.title    = 'validates_email_format_of plugin'
-  rdoc.options << '--line-numbers --inline-source'
-  rdoc.rdoc_files.include('README')
-  rdoc.rdoc_files.include('TODO')
-  rdoc.rdoc_files.include('lib/**/*.rb')
-end
\ No newline at end of file