Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.32 kB
require "bundler/gem_tasks"
require "rspec/core/rake_task"
def ci?
ENV["CI"] == "true"
end
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.