Page 1 of 1

hbmk2 plugins

Posted: Tue May 05, 2020 9:40 pm
by Antonio Linares
Using this hbmk2 plugin we get reported of the different states of the make process giving us the oportunity to modify params, etc

plugin.prg

Code: Select all

function hbmk2_plugin( hbmk2 )

   hb_MemoWrit( hbmk2[ "cSTATE" ] + ".txt", hb_jsonEncode( hbmk2, .T. ) )

return nil
To build it:
harbour -gh -n plugin.prg

To use it:
hbmk2 test.hbp plugin.hrb

Now we have a chance to fine tune the hbmk2 behavior when needed :-)