I added a custom command for myself, for adding includes depending whether a variable is equal to 1 or not.
I threw into core.bmk:
and some really simple code:
So it's basically a flexible include function.
I think this pre/post-processing can come in very handy for publishing. Nice work brucey.
Is there any other plans you have for this aside from its current use?
I threw into core.bmk:
@define ifinclude if arg1 == "1" then print("Executing "..arg2) else print(arg2.." was not executed") end bmk.LoadBMK(arg2) @end
and some really simple code:
' @bmk publish = 1 ' @bmk ifinclude %publish% publish/PackageData.bmx ' @bmk ifinclude %publish% publish/ftp_update.bmx
So it's basically a flexible include function.
I think this pre/post-processing can come in very handy for publishing. Nice work brucey.
Is there any other plans you have for this aside from its current use?