mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 12:32:30 +01:00
15 lines
256 B
Ruby
15 lines
256 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]
|