Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sublime flex build file for mxmlc compilation
{
"cmd": [
"/Users/newtriks/Library/Developer/SDK/flex_sdk_4.6.0.23201B/bin/mxmlc",
"$file",
"-static-link-runtime-shared-libraries=false",
"-load-config+=${file_path}/../config.xml",
"-keep-as3-metadata+=Inject",
"-keep-as3-metadata+=PostConstruct",
"-allow-source-path-overlap=true",
"-locale=en_US",
"-output=../bin/swf/${file_base_name}.swf"
],
"file_regex": "(.*)[(](\\d+)[)]:(?: col: (?:\\d+))? *Error: (.*)",
"selector": "source.actionscript",
"variants": [
{ "cmd": ["open ${file_path}/../bin/swf/${file_base_name}.swf"],
"shell": true,
"name": "Run"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment