Sha256: 73f233ca23a5bf06bebd1e114b7d557c15b2a2e1730fde1a251e5b3292914002

Contents?: true

Size: 583 Bytes

Versions: 37

Compression:

Stored size: 583 Bytes

Contents

require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'

require File.dirname(__FILE__) + '/config/config'
Dir.glob(File.dirname(__FILE__) + '/tasks/*.rake').each { |f| load f }

desc "Default: run all tests"
task :default => :test

namespace :environment do
  task :application do
    puts "Loading application environment..."
    require File.dirname(__FILE__) + '/app'
  end
  
  task :models do
    puts "Loading models..."
    Config.setup_mongomapper
    base = File.dirname(__FILE__)
    Dir.glob(base + '/models/*.rb'       ).each { |f| require f }
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
sinatra_resource-0.4.21 examples/datacatalog/Rakefile
sinatra_resource-0.4.20 examples/datacatalog/Rakefile
sinatra_resource-0.4.19 examples/datacatalog/Rakefile
sinatra_resource-0.4.18 examples/datacatalog/Rakefile
sinatra_resource-0.4.17 examples/datacatalog/Rakefile
sinatra_resource-0.4.16 examples/datacatalog/Rakefile
sinatra_resource-0.4.15 examples/datacatalog/Rakefile
sinatra_resource-0.4.14 examples/datacatalog/Rakefile
sinatra_resource-0.4.13 examples/datacatalog/Rakefile
sinatra_resource-0.4.12 examples/datacatalog/Rakefile
sinatra_resource-0.4.11 examples/datacatalog/Rakefile
sinatra_resource-0.4.10 examples/datacatalog/Rakefile
sinatra_resource-0.4.9 examples/datacatalog/Rakefile
sinatra_resource-0.4.8 examples/datacatalog/Rakefile
sinatra_resource-0.4.7 examples/datacatalog/Rakefile
sinatra_resource-0.4.6 examples/datacatalog/Rakefile
sinatra_resource-0.4.5 examples/datacatalog/Rakefile
sinatra_resource-0.4.4 examples/datacatalog/Rakefile
sinatra_resource-0.4.3 examples/datacatalog/Rakefile
sinatra_resource-0.4.2 examples/datacatalog/Rakefile