Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
25 lines (20 sloc) 0.464 kB
require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'dotenv/tasks'
task :default => :test
task :test => :spec
if !defined?(RSpec)
puts "spec targets require RSpec"
else
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = Dir['spec/**/*_spec.rb']
end
end
task :environment => :dotenv do
require File.join(File.dirname(__FILE__), 'environment')
end
task :console do
ruby 'script/console'
end
Jump to Line
Something went wrong with that request. Please try again.