Created
November 20, 2008 18:55
-
-
Save techpeace/27143 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :check do | |
desc "Check to make sure you haven't left any 'debugger' calls lying around." | |
task :debugger do | |
%w{app lib spec test}.each do |dir| | |
puts `ack debugger #{dir}` | |
puts `ack 'ruby-debug' #{dir}` | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment