I’m writing some C code in Sublime at the moment and my entire build process is inside a .bat file at the root of my folder.
Is there any way that when I press ctrl + b the build system can search for the .bat file in the directory of the current active file, but then look up one directory if it doesn’t exist there, and repeat as necessary until either the it reaches the root of the drive or one is found and run?
I assume there is no way to do this with Sublime’s plain build system, but if there is would anyone be able to tell me how?
If not, then I assume that I would have to write a plugin to do this and bind a key to the command, correct?