Summary
We have come to the end of this book, so let's revise what we learned. At the start, there was an explanation of Rake's foundation and its DSL. We saw what a Rakefile
is, how to define custom tasks and their prerequisites, what the default rake task is, how to define global rake tasks, and how to use the rake
command-line utility and its common options.
Next, you were taught how to work with files and what arsenal Rake has for operations with the files. How to refactor and get rid of task duplication with rule
was explained in next chapter. After that, we saw how to clean a build with the standard features of Rake, such as CLOBBER
and CLEAN
lists. Software productivity is the main problem of Ruby, and sometimes, parallelism might speed up a Rake application with multitask
. Chapter 5, Running Tasks in Parallel, explained when it's rational to use multitasking and how to use it.
Then, we discussed another existing problem in the programming world—debugging. You were shown how to debug...