Sha256: 96e306f5dde259d89634d22da4f1ac33a004a60bdc98969ee90358b78d7b597b

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
guard-livereload-2.5.2 Rakefile
guard-livereload-2.5.1 Rakefile
guard-livereload-2.5.0 Rakefile