require 'rubygems' require 'bundler' require 'rake/testtask' require 'rake/rdoctask' Bundler::GemHelper.install_tasks desc "Run all unit tests" Rake::TestTask.new("test") { |t| t.libs << "lib" t.test_files = FileList['test/*_test.rb'] t.verbose = true } desc "Create documentation" Rake::RDocTask.new("docs") { |rdoc| rdoc.title = "Sip - SQL to Hive importer" rdoc.rdoc_dir = 'docs' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') }