Even though I’ve read most of the documentation on the matter, I’m not quite sure I understand where to start with implementing a new target/flag for mach/moz.build.
Essentially, I’d like to create an option (let’s call it TSC, for simplicity’s sake) that, when added to a moz.build file, instructs mach (or rather make. As far as I understand it, mach would merely call make) to call the TypeScript compiler and recursively compile all .ts files in a directory.
Are there any good examples for such a behaviour?
Really just a personal interest. I know TypeScript is unlikely to make it to the official tree anytime soon.