I’ve got a library project which contains some examples.
mylibis a rebar-managed library project.mylib/examples/foois an example that usesmylib, also managed with rebar.
So, mylib/examples/foo/rebar.config has a dep that refers to mylib. So that I can make changes to mylib and have that reflected in the examples immediately, I added mylib/examples/foo/_checkouts/mylib → ../../...
But: ErlangLS (as of last week’s release) really doesn’t like the circular symlink (see els_server deadlocks/hangs in filelib:wildcard · Issue #1569 · erlang-ls/erlang_ls · GitHub).
Is there a recommended way to have an example depend on its top-level application?
I don’t want to use an umbrella, because that would require git_subdir, and erlang.mk (which we’re using elsewhere) doesn’t like those (see case_clause in dep_autopatch_rebar.erl when transforming git_subdir · Issue #1004 · ninenines/erlang.mk · GitHub).