Skip to content

Instantly share code, notes, and snippets.

@rbarazi
Created July 19, 2011 18:19
Show Gist options
  • Save rbarazi/1093324 to your computer and use it in GitHub Desktop.
Save rbarazi/1093324 to your computer and use it in GitHub Desktop.
Rakefile example
require 'rubygems'
require 'bundler'
require 'rake'
require 'rspec/core/rake_task'
Bundler.setup
RSpec::Core::RakeTask.new(:spec) do |t|
# t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
t.pattern = 'spec/**/*_spec.rb'
end
task default: :spec
Dir["tasks/*.rake"].sort.each { |ext| load ext }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment