mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-26 04:52:28 +01:00
15 lines
253 B
Ruby
15 lines
253 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'bundler/gem_tasks'
|
||
|
require 'rake/testtask'
|
||
|
require 'rubocop/rake_task'
|
||
|
|
||
|
Rake::TestTask.new do |t|
|
||
|
t.ruby_opts += ['-W1']
|
||
|
t.pattern = 'spec/*_spec.rb'
|
||
|
end
|
||
|
|
||
|
RuboCop::RakeTask.new
|
||
|
|
||
|
task default: %i[test rubocop]
|