clemos/haxe-sublime2-bundle — Issue #25: Can you add these lines to find_hxml?
Author: swerdnik
Created: 2011-12-22 12:11:33+00:00
State: open

This will account for the --remap compiler flag that can be present in an hxml file. A lot of people remap flash to nme...

if l.startswith("--remap") :
spl = l.split(" ")
if len( spl ) == 2 :
currentBuild.args.append( tuple(l.split(" ") ) )
else :
sublime.status_message( "Invalid build.hxml : no Main class" )

Thanks!