run bash on compile?

BlitzMax Forums/BlitzMax Programming/run bash on compile?

nino(Posted 2007) [#1]
is it possible to tie script/command line actions to the bmax compiler?

e.g. when compile is done run a bash to cp my icon to the right place in the .app on mac.

or

before compile starts generate a .bmx which incbins all images in a certain directory?


N(Posted 2007) [#2]
You could do this by modifying the BMK source code or writing a simple shell script that runs these scripts before and after you run BMK, but anything in between events (e.g., before linking and after compiling) would have to be added to BMK.