clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
235 stars 86 forks source link

Build selection / discovery failing even when specifying haxe_builds setting in project #252

Closed wighawag closed 8 years ago

wighawag commented 8 years ago

Sublime always fail as it try to execute "haxe build.hxml" while my hxml is named differently

My hxml file is specified using

{
    "folders":
    [
        {
            "path": "."
        }
    ],
    "settings":
    {
        "haxe_builds":
        [
            "build@project-windows.hxml"
        ]
    }
}

I tried different value including full path (I use sublime text 3) but it always fail

as a workarround I created a "build.hxml" file containing

-cmd cd build
-cmd haxe project-windows.hxml

and it works

wighawag commented 8 years ago

actually it works but not when using ctrl+b which I was using. It works using ctrl+enter

clemos commented 8 years ago

Ctrl+B is managed by Sublime Text, the correct shortcut is Ctrl+Enter