lib/rubysmith/cli/parsers/build.rb in rubysmith-0.6.1 vs lib/rubysmith/cli/parsers/build.rb in rubysmith-0.7.0
- old
+ new
@@ -107,9 +107,15 @@
client.on "--[no-]rubocop", "Add Rubocop." do |value|
options[:build_rubocop] = value
end
end
+ def add_ruby_critic
+ client.on "--[no-]ruby_critic", "Add RubyCritic." do |value|
+ options[:build_ruby_critic] = value
+ end
+ end
+
def add_setup
client.on "--[no-]setup", "Add setup script." do |value|
options[:build_setup] = value
end
end