I have created a super-simple build system to execute batch files in Windows:
{
"selector": "source.dosbatch",
"windows": {
"shell_cmd": "${file}",
}
}
But it still shows up in Linux as a possible build system, despite having no shell_cmd defined for that platform. Is there a way to get the build system to only be available on Windows?
(It currently fails on Linux with the error shell_cmd or cmd is required, but I’d prefer it didn’t show up at all…)
I know that if I were to make it part of a package distributed by Package Control, I could set what platforms the entire package is available on, but imagine a situation where you want to include a syntax definition and a build system in a package, but only have the build system available on certain platforms. That way, one can still edit documents with correct syntax highlighting on a different platform.

