in lib/omnibus/builder.rb [1049:1067]
def warn_for_shell_commands(command)
case command
when /^cp /i
log.warn(log_key) { "Detected command `cp'. Consider using the `copy' DSL method." }
when /^rubocopy /i
log.warn(log_key) { "Detected command `rubocopy'. Consider using the `sync' DSL method." }
when /^mv /i
log.warn(log_key) { "Detected command `mv'. Consider using the `move' DSL method." }
when /^rm /i
log.warn(log_key) { "Detected command `rm'. Consider using the `delete' DSL method." }
when /^remove /i
log.warn(log_key) { "Detected command `remove'. Consider using the `delete' DSL method." }
when /^rsync /i
log.warn(log_key) { "Detected command `rsync'. Consider using the `sync' DSL method." }
when /^strip /i
log.warn(log_key) { "Detected command `strip'. Consider using the `strip' DSL method." }
end
end