Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.337 kB
require 'bundler/gem_tasks'
def ci?
ENV['CI'] == 'true'
end
default_tasks = []
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = ci?
end
default_tasks << :spec
unless ci?
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)
default_tasks << :rubocop
end
task default: default_tasks
Jump to Line
Something went wrong with that request. Please try again.