Is there any way to add a post build command to an omakefile? I want it to automatically run unit tests everytime a build is successful, but am not sure of the best way to do this.
Post build testing with omake
194 Views Asked by a_m0d At
2
There are 2 best solutions below
0

I think you can use .BUILD_SUCCESS and .BUILD_FAILURE targets for that purpose. See details here.
You can add commands to the .DEFAULT target. For example:
When invoked without any particular target, Omake will build all default targets, then run associated commands.