clemos / haxe-sublime-bundle

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

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

Closed wighawag closed 9 years ago

wighawag commented 9 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 9 years ago

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

clemos commented 9 years ago

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