Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 343 Bytes
require 'bundler/gem_tasks'
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
end
desc "Run the specs"
task :default => :spec
desc 'Removes trailing whitespace'
task :whitespace do
sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;}
end
Something went wrong with that request. Please try again.