Book Image

Rake Task Management Essentials

By : Andrey Koleshko
Book Image

Rake Task Management Essentials

By: Andrey Koleshko

Overview of this book

Table of Contents (18 chapters)
Rake Task Management Essentials
About the Author
About the Reviewers

Chapter 4. Cleaning Up a Build

Sometimes, you will have to clean the generated files with rake tasks to get into the initial state of the build for some reason. Maybe you would like to delete intermediate files while building or removing produced files to make sure that the build is clean and generates new files with confidence. In this situation, the built-in mechanisms of Rake could help you, and this chapter is about these mechanisms.

The solution is based on a simple idea, so the chapter includes the following topics:

  • Setting up a project

  • The cleaning tasks