clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
237 stars 85 forks source link

Improved `read_hxml`. #197

Closed andyli closed 9 years ago

andyli commented 9 years ago

This is quite a big revision of the read_hxml function. Hopefully it wouldn't break anything... Please review and test with your projects. ;)

Here is the list of improvements:

nadako commented 9 years ago

Hey @andyli!

It seems that there should be a bit more hackery when parsing args after --run, because everything after --run is consumed and used as --run args (and thus these args should follow the --run arg).

For example:

--run Build
arg1
arg2

Currently this will put arg1, arg2 before --run resulting to invalid command line.

andyli commented 9 years ago

Good catch! Will go to fix it and make a PR!