Sha256: f3ec0d6acfe0155a232316390025ace74ddb9dbe8c1ada0776501542bd0dc700
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra_resource-0.4.23 | examples/datacatalog/Rakefile |
sinatra_resource-0.4.22 | examples/datacatalog/Rakefile |