debian-mirror-gitlab/debian/gems-compat/opentracing-0.4.3/Rakefile

18 lines
327 B
Text
Raw Normal View History

2019-03-14 13:13:30 +05:30
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end
RuboCop::RakeTask.new(:rubocop)
if RUBY_PLATFORM == 'java'
task default: :test
else
task default: %i[rubocop test]
end