[erlang-questions] Emacs + Flycheck + rebar3 + proper
Tue Nov 27 10:36:31 CET 2018
Yes, I use `rebar3 as test proper`, or just `rebar3 proper`, to tun the
tests. It's just while editing that it gives the error `can't find
include lib "proper/include/proper.hrl`
The flycheck-rebar3 checker doesn't help: to bad.
I am switching between projects on a regular basis, so it would be nice
if setting the ERL_LIBS path would be done auto-magically.
On 11/26/18 8:58 PM, Tristan Sloughter wrote:
> Is it building with rebar3? I use https://github.com/joedevivo/flycheck-rebar3
> If it isn't building with rebar3 and you don't want it to then you'd need to be setting ERL_LIBS to include the libs in the _build directory.
> On Mon, Nov 26, 2018, at 02:18, Frans Schneider wrote:
>> Hi all,
>> In emacs while editing PropEr tests, flycheck complains about not being
>> able to find "proper/include/proper.hrl" which is obvious since that lib
>> is somewhere sitting in the _build directory and not defined in ERL_LIBS.
>> How do you guys configure emacs in a situation like this?
>> PropEr is part of the test profile in rebar3.
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions