{"issue":{"user":{"id":197739,"login":"swerdnik","url":"https://api.github.com/users/swerdnik","avatar_url":"https://secure.gravatar.com/avatar/85a73b79c13bbd64c39d5fb03c080541?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"85a73b79c13bbd64c39d5fb03c080541"},"milestone":null,"created_at":"2011-12-22T12:11:33Z","title":"Can you add these lines to find_hxml?","updated_at":"2011-12-22T15:26:54Z","labels":[],"state":"closed","id":2636618,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/clemos/haxe-sublime2-bundle/issues/25","closed_at":"2011-12-22T15:26:54Z","number":25,"body":"This will account for the --remap compiler flag that can be present in an hxml file.  A lot of people remap flash to nme...\r\n\r\n\r\n\t\t\t\tif l.startswith(\"--remap\") :\r\n\t\t\t\t\tspl = l.split(\" \")\r\n\t\t\t\t\tif len( spl ) == 2 :\r\n\t\t\t\t\t\tcurrentBuild.args.append( tuple(l.split(\" \") ) )\r\n\t\t\t\t\telse :\r\n\t\t\t\t\t\tsublime.status_message( \"Invalid build.hxml : no Main class\" )\r\n\r\n\r\nThanks!","url":"https://api.github.com/repos/clemos/haxe-sublime2-bundle/issues/25","comments":2,"assignee":null},"action":"closed"}