I am trying to understand how "cmock"/"unity" works under the hood. Both of this are using ruby rake build tool. Is there an easy way to show/log all shell commands and its option that were invoked by rake during build? I would expect to see among other bunch of (or similar):
gcc a.c -o a.o -Wall -g -I"some/path"
gcc b.c -o b.o -Wall -g -I"some/path"
edit:
Some background to the question: I do not understand (yet) how rake and cmock works. So i thought: It would be great help if I can log how other programs (mainly compiler) were invoked by rake while building provided example. This way I can see process step by step without learning too much about reke/cmock just yet. (I have tried -t option but it does not show shell commands).