No more task typos
Tired of seeing this and not knowing the exact task name?
$ rake ffoo
rake aborted!
Don't know how to build task 'ffoo'
(See full trace by running task with --trace)
Add this to your rakefile:
require "rake/typo"
Now you can get suggestions for similar task names:
$ rake ffoo
Don't know how to build task 'food:bar'
Did you mean this?
foo
Install and use
$ gem install rake-typo
Then simply require "rake-typo"
to your Rake file.
License and contributing
Released under the MIT license. See LICENSE for details.
The quickest way to get changes contributed:
- Visit the GitHub repository for rake-typo.
- Fork the repository.
- Check out a branch on the latest master for your change:
git checkout -b master new-feature
--- do not make changes onmaster
! Make sure that anything added or changed has a test in thetest/
directory. Use the existing files as examples. All tests for new/changed behaviour should pass. - Send a pull request on GitHub, including a description of what you've changed.