You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
397 B
15 lines
397 B
# frozen_string_literal: true |
|
|
|
return unless defined?(Rails::Command::StatsCommand) |
|
|
|
[ |
|
%w(AppLibs app/lib), |
|
%w(Policies app/policies), |
|
%w(Presenters app/presenters), |
|
%w(Serializers app/serializers), |
|
%w(Services app/services), |
|
%w(Validators app/validators), |
|
%w(Workers app/workers), |
|
].each do |name, directory| |
|
Rails::CodeStatistics.register_directory(name.titleize, directory) |
|
end
|
|
|