Package list ruby-gitlab / debian/4.5.0-2 Rakefile
debian/4.5.0-2

Tree @debian/4.5.0-2 (Download .tar.gz)

Rakefile @debian/4.5.0-2raw · history · blame

require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ['--color', '--format d']
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.options = ['-D', '--parallel']
end

if ENV['TRAVIS_CI_RUBOCOP']
  task default: :rubocop
else
  task default: :spec
end