clemos / haxe-sublime-bundle

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

build.hxml beside the project file #45

Closed lexoyo closed 12 years ago

lexoyo commented 12 years ago

search for build.hxml in the same folder as the sublime text project file

clemos commented 12 years ago

It was project_path => folder => file_path at the beginning. Maybe it would be worth adding "folder" back, to support compilation without project ?

lexoyo commented 12 years ago

Maybe it would be worth adding "folder" back, to support compilation without project ? I am not sure how to do that..

clemos commented 12 years ago

I updated the file again. Can you upgrade and see if it still fits your needs ? Regards, Clément

lexoyo commented 12 years ago

it works with "working_dir": "${folder:${project_path:${file_path}}}",

and not with "working_dir": "${project_path:${folder:${file_path}}}",

my build file is in myproject/demo/demo1/ with the project file

lexoyo commented 12 years ago

sorry, it is exactly the oposite : it does work "working_dir": "${project_path:${folder:${file_path}}}",

clemos commented 12 years ago

Ok, that's what I did, so I guess it's fine.

Regards, Clément

martinduparc commented 11 years ago

It seems like this is an issue again. If the build.hxml is not in the root of the folder opened in ST, I get "Fatal error: exception Failure("File not found build.hxml")"

screen shot 2013-09-14 at 7 01 38 am

clemos commented 11 years ago

That's normal if you use ST's build system (F8, Ctrl+B) It should work with Ctrl + Shift + B => Ctrl + Enter

martinduparc commented 11 years ago

I use Ctrl + Shift + B.

I am using ST3, could that be the problem?

clemos commented 11 years ago

Oh ok, Then it's a duplicate of issue #109 Until we find a proper solution, you'll find a workaround there ;)