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

Version Path
mls-0.8.2 Rakefile
mls-0.8.1 Rakefile
mls-0.8.0 Rakefile
mls-0.7.2 Rakefile
mls-0.7.1 Rakefile
mls-0.7.0 Rakefile
mls-0.6.7 Rakefile
mls-0.6.6 Rakefile
mls-0.6.5 Rakefile
mls-0.6.4 Rakefile
mls-0.6.3 Rakefile
mls-0.6.2 Rakefile
mls-0.6.1 Rakefile
mls-0.6.0 Rakefile
mls-0.5.12 Rakefile
mls-0.5.11 Rakefile
mls-0.5.10 Rakefile
mls-0.5.9 Rakefile
mls-0.5.8 Rakefile
mls-0.5.7 Rakefile