ostinelli / SublimErl

An Erlang Plugin for Sublime Text 2, which enables code completion and allows you to run tests within the editor itself.
190 stars 44 forks source link

Better project directory and source file tests #49

Closed jwheare closed 11 years ago

jwheare commented 12 years ago

The current tests fail if a user stores all their source code in a ~/src directory

core: Test for ebin directory because it's required by the rebar layout, and is more erlang specific than src.

support/libparser: Exclusion test for .eunit instead of inclusion in src. Not sure if there are other .erl files we'd want to ignore.

ostinelli commented 11 years ago

Isn't src required by all best practices?

jwheare commented 11 years ago

The point is that if there's a non-erlang src directory above the project dir then the test fails, so it can't be used as a foolproof way of identifying an erlang project.

ostinelli commented 11 years ago

I see. Will get into this asap. Thank you.

ostinelli commented 11 years ago

merged, thank you 27dc992f166050ba81ddadaa103077537b2b54b5