Sha256: 2cb1aec0874875eee833d15d0848b790061c33410bf258c97f89f78e7704797c
Contents?: true
Size: 833 Bytes
Versions: 50
Compression:
Stored size: 833 Bytes
Contents
require 'bundler/setup' require "bundler/gem_tasks" Bundler.require(:development) require 'rake/testtask' require 'rdoc/task' task :console do exec 'irb -I lib -r mls.rb' end task :c => :console Rake::TestTask.new do |t| t.libs << 'lib' << 'test' t.test_files = FileList['test/units/**/test*.rb'] #t.warning = true #t.verbose = true end Rake::RDocTask.new do |rd| rd.main = 'README.rdoc' rd.title = 'MLS Documentation' rd.rdoc_dir = 'doc' rd.options << '-f' << 'sdoc' # explictly set shtml generator rd.options << '-T' << '42floors' rd.options << '-e' << 'UTF-8' rd.options << '-g' rd.options << '--include' << 'lib/rdoc' rd.rdoc_files.include('README.rdoc') rd.rdoc_files.include('lib/**/*.rb') rd.rdoc_files.exclude('lib/rdoc/**/*.rb') end desc "Run tests" task :default => :test
Version data entries
50 entries across 50 versions & 1 rubygems