clemos / haxe-sublime-bundle

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

refactoring branch doesnt build OpenFL anymore #114

Open nadako opened 10 years ago

nadako commented 10 years ago

OpenFL builds fail with this error:

nmml: E:\Code\DisplayingABitmap\project.xml Traceback (most recent call last): File "C:\Users\nadako\SublimeText\sublimeplugin.py", line 549, in run return self.run(edit) File "C:\Users\nadako\SublimeText\Data\Packages\Haxe\haxe\commands\build.py", line 28, in run hxproject.current_project(self.view).just_build( view ) File "C:\Users\nadako\SublimeText\Data\Packages\Haxe\haxe\project\project.py", line 163, in just_build self.build(view, "build") File "C:\Users\nadako\SublimeText\Data\Packages\Haxe\haxe\project\project.py", line 281, in _build escapedcmd = build.escape_cmd(cmd) AttributeError: 'OpenFlBuild' object has no attribute 'escape_cmd'

frabbit commented 10 years ago

thx for reporting, could you check if it works again?

nadako commented 10 years ago

Nope, the plugin doesn't load now :)

    def escape_cmd(self, cmd):
                             ^
TabError: inconsistent use of tabs and spaces in indentation
frabbit commented 10 years ago

ok, i fixed the indentation, please let me know if it works now ;)