Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean up the Rakefile out of tasks no longer needed (tests are not pa…

…ssing though).
  • Loading branch information...
commit ce4dab11a4a6334717f8cb5e8358e0d60d75e464 1 parent 90a548f
@pupeno pupeno authored
Showing with 11 additions and 40 deletions.
  1. +11 −40 Rakefile
View
51 Rakefile
@@ -1,42 +1,13 @@
+require "rake"
+require "rake/testtask"
require "bundler/gem_tasks"
-# require 'rake'
-# require 'rake/testtask'
-# require 'rake/rdoctask'
-#
-# desc 'Default: run unit tests.'
-# task :default => :test
-#
-# desc 'Test the table_builder plugin.'
-# Rake::TestTask.new(:test) do |t|
-# t.libs << 'lib'
-# t.pattern = 'test/**/*_test.rb'
-# t.verbose = true
-# end
-#
-# desc 'Generate documentation for the table_builder plugin.'
-# Rake::RDocTask.new(:rdoc) do |rdoc|
-# rdoc.rdoc_dir = 'rdoc'
-# rdoc.title = 'TableBuilder'
-# rdoc.options << '--line-numbers' << '--inline-source'
-# rdoc.rdoc_files.include('README')
-# rdoc.rdoc_files.include('lib/**/*.rb')
-# end
-#
-# require "bundler/gem_tasks"
-#
-# begin
-# require 'jeweler'
-# Jeweler::Tasks.new do |gem|
-# gem.name = "table_builder"
-# gem.summary = %Q{Rails builder for creating tables and calendars inspired by ActionView's FormBuilder.}
-# gem.description = %Q{Rails builder for creating tables and calendars inspired by ActionView's FormBuilder.}
-# gem.email = ""
-# gem.homepage = "http://github.com/maca/table_builder"
-# gem.authors = ["Petrik de Heus"]
-# # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
-# end
-# Jeweler::GemcutterTasks.new
-# rescue LoadError
-# puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-# end
+desc "Default: run unit tests."
+task :default => :test
+
+desc "Test the table_builder plugin."
+Rake::TestTask.new(:test) do |t|
+ t.libs << "lib"
+ t.pattern = "test/**/*_test.rb"
+ t.verbose = true
+end
Please sign in to comment.
Something went wrong with that request. Please try again.