I would like to create 4 build options for building Actionscript files. One for Building and one for Running in Linux, and the same for Windows.
Is it possible to do this?
Currently it seems ‘windows’ and ‘linux’ sections can only overwrite the default build option?
My current broken .sublime-build file is:
[code]{
“selector”: “source.actionscript”,
"windows":
{
"cmd":
"${packages}\\User\\Flash-build.bat",
"${project_path}",
"${file}"
],
"variants":
{
"name": "Run",
"cmd":
"${packages}\\User\\Flash-run.bat",
"${file_path}",
"${file_base_name}"
]
}
],
},
"linux":
{
"cmd":
"${packages}/User/Flash-build.sh",
"${packages}",
"${project_path}",
"${file_path}",
"${file_base_name}"
],
"variants":
{
"name": "Run",
"cmd":
"${packages}/User/Flash-run.sh",
"${packages}",
"${project_path}",
"${file_path}",
"${file_base_name}"
]
}
]
}
}
[/code]