Converts Cakefile to promises