I guess you must constantly have a terminal window open to run apps, or is there some automated process in Textmate? Also, if i wat to add some options to the bmk build, i guess i'll need to edit one of the files in the bundle to include them?
I do, but then I have it open just for finding files as well. Finder's nice, but I can get around much more easily with a terminal.If you wanted to customize how bmk is executed, you'd have to edit the Build App command. Right now it's just calling `bmk makeapp "$TM_FILEPATH"`, so it's not terribly sophisticated. I'm thinking that I'll split it into Build GUI App and Build Console App so that you have that much choice. Not sure if there's a good way to handle other options like threading (-h) without splitting them into four commands, two for threaded and two for unthreaded. I suppose I could have it check for build flags in the file being compiled. E.g.,
'buildopt threaded 'buildopt guiBut if I did that, I would probably limit it to stop after it gets to the first non-blank/comment line so you don't have it checking the entire source file every time you build.
Would be neat if BMK had that sort of thing built in, actually. I might have to do that just for myself.
Edit: Also, for projects, I'm thinking about having a TM_BLITZMAX_MAINFILE shell variable that you can set so when you hit 'build' in a project, it'll build that file regardless of which file you've got open. Still fiddling with ideas.