Sha256: b948d914658f34924d3d88e5aed2a32f8a8d2fa5a7f23fdbb69805591bed756b
Contents?: true
Size: 591 Bytes
Versions: 4
Compression:
Stored size: 591 Bytes
Contents
require "bundler" Bundler::GemHelper.install_tasks require "rspec/core/rake_task" RSpec::Core::RakeTask.new task :default => :travis task :environment do require './spec/spec_helper' end desc 'Opens a Pry/IRB session with the environment loaded' task :console => :environment do #gotcha! Mongoid.load!("spec/support/mongoid.yml", 'development') binding.pry end task :travis do ["rake spec", "rake build"].each do |cmd| puts "Starting to run #{cmd}..." system("export DISPLAY=:99.0 && bundle exec #{cmd}") raise "#{cmd} failed!" unless $?.exitstatus == 0 end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
memory_dictionary-1.0.0 | Rakefile |
mailcannon-0.1.1 | Rakefile |
mailcannon-0.1.0.pre.1 | Rakefile |
mailcannon-0.0.8.pre.1 | Rakefile |