Compilation is the initial step of compilation, and preparation is when Cordoba makes all copies of preferences and assets. Build is a shortcut to launch both of them. You can see that this is the order in which the hooks are launched. (Tested on Cordoba 5.4.0)
In the assembly of Cordoba:
before_build before_prepare after_prepare before_compile after_compile after_build
In Cordoba get ready:
before_prepare after_prepare
On the compilation of Cordoba:
before_compile after_compile
In Cordoba mode:
before_run before_prepare after_prepare after_run
Interestingly, run seems to trigger the preparation hooks, but does not compile (or build) the hooks. This might just be a mistake.
source share