Yes, there are several ways to do this, if you are running a Windows or Bash command prompt, you can simply use the statement &&as follows:
cake source.cake && cake build.cake
If you use PowerShell, you can do the following
cake .\source.cake;if($LASTEXITCODE -eq 0) { cake .\build.cake }
Cake Cake, source.cake build.cake, , build.cake:
CakeExecuteScript("./source.cake");