debian-mirror-gitlab/derailed-benchmarks/Rakefile

30 lines
507 B
Ruby
Raw Normal View History

2019-10-03 14:02:42 +05:30
# encoding: UTF-8
# frozen_string_literal: true
require 'rubygems'
require 'bundler'
require "bundler/gem_tasks"
begin
Bundler.setup(:default, :development, :test)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
task default: :test