Created
July 17, 2012 18:27
-
-
Save newtriks/3131123 to your computer and use it in GitHub Desktop.
SublimeText2 MXMLC compile and run buildfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cmd": ["/Users/newtriks/Library/Plugins/sdks/flex_sdk_4.6.0.23201B/bin/mxmlc", | |
"$file", | |
"-static-link-runtime-shared-libraries=true"], | |
"file_regex": "(.*)[(](\\d+)[)]:(?: col: (?:\\d+))? *Error: (.*)", | |
"selector": "source.actionscript", | |
"variants": [ | |
{ "cmd": ["open ${file_path}/${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
Hi Antonio,
Try adding
"-load-config+=${file_path}/../config.xml"
to thecmd:
array. Then add a config.xml file to your project stipulating an output target:<output>/Users/newtriks/Projects/foo/app/assets/flash/player.swf</output>
. For example: