Package list ruby-gitlab / upstream/4.5.0 Rakefile
upstream/4.5.0

Tree @upstream/4.5.0 (Download .tar.gz)

Rakefile @upstream/4.5.0raw · 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