Rakefile in chess-0.0.1.dummy vs Rakefile in chess-0.0.1

- old
+ new

@@ -1,16 +1,32 @@ -require "bundler/gem_tasks" +require 'bundler/gem_tasks' + +require 'rdoc/task' +Rake::RDocTask.new do |rd| + rd.title = 'Chess' + rd.main = 'README.rdoc' + rd.rdoc_dir = 'doc' + rd.rdoc_files.include('README.rdoc', 'lib/**/*.rb', 'ext/*.c') + rd.options << '-f' << 'horo' +end + +require 'rake/testtask' +task :default => :test +Rake::TestTask.new do |test| + test.libs << 'test' + test.test_files = FileList["test/test_#{ENV['T'] || '*'}.rb"] +end \ No newline at end of file