Created
January 24, 2012 15:35
-
-
Save chaslemley/1670723 to your computer and use it in GitHub Desktop.
Accessing --verbose and --trace from within a Rake command
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
puts "ran with trace" if Rake.application.options.trace == true |
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
puts "ran with verbose" if verbose == true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment