Sha256: 2db8f8f988b3d0c7437f1831467839d524a70ec759f876d6711befe58e36a2cc

Contents?: true

Size: 517 Bytes

Versions: 4

Compression:

Stored size: 517 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
Bundler::GemHelper.install_tasks

task :console do
  puts "Loading development console..."
  system("irb -r mini_mongo")
end

task :help do
  puts "Available rake tasks: "
  puts "rake console - Run a IRB console with all enviroment loaded"
  puts "rake spec - Run specs"
end

task :spec do
  desc "Run all specs with rcov"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = "spec/**/*_spec.rb"
  end
end

task :default => [:spec]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mini_mongo-0.1.0 Rakefile
mini_mongo-0.0.4 Rakefile
mini_mongo-0.0.3 Rakefile
mini_mongo-0.0.2 Rakefile