Skip to content

Instantly share code, notes, and snippets.

@newtriks
Created January 7, 2013 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save newtriks/4478141 to your computer and use it in GitHub Desktop.
Save newtriks/4478141 to your computer and use it in GitHub Desktop.
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