Cakefiles are inspired by the venerable Makefiles, the build system for C and friends.
The premise of a Makefile and its variants (Ruby users will also be familiar with Rakefiles) is simple: it consists of various tasks which can be invoked individually from the command line.
Each task definition contains instructions that will be run when the task is run. In a Cakefile, the task definitions and bodies are all written in CoffeeScript.
Casiano Rodríguez León