1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-04-21 17:42:26 -04:00
libkernaux/bindings/mruby/Rakefile

17 lines
298 B
Ruby

# frozen_string_literal: true
desc 'Run default checks'
task default: :lint
desc 'Run code analysis tools'
task lint: :rubocop
desc 'Fix code style (rubocop --auto-correct)'
task fix: 'rubocop:auto_correct'
begin
require 'rubocop/rake_task'
RuboCop::RakeTask.new
rescue LoadError
nil
end