Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't work with rebar3_path_deps #34

Open
fazibears opened this issue Sep 29, 2023 · 1 comment
Open

Won't work with rebar3_path_deps #34

fazibears opened this issue Sep 29, 2023 · 1 comment

Comments

@fazibears
Copy link

fazibears commented Sep 29, 2023

Hey. Long story short trying to add elixir to erlang project. I’m trying add local elixir dependency to project. It kindly works. Problem is that every second run elixir part is not included.

Steps to reproduce:

$ rebar3 new app local_mix
$ cd local_mix
$ mix new ex_app

rebar.config:

{deps, [
    {ex_app, {path, "./ex_app"}}
  ]
}.

{shell, [
  % {config, "config/sys.config"},
    {apps, [local_mix]}
]}.

{plugins, [
    rebar3_path_deps,
    rebar_mix
]}.
  • rebar3 shell
  • 'Elixir.ExApp':hello(). - works
  • crtl-c
  • rebar3 shell
  • 'Elixir.ExApp':hello(). - undefined function

if you run rebar3 shell once again it will work :slight_smile:

Maybe there is other way to just include elixir files in rebar3 project?

@tsloughter
Copy link
Collaborator

That might be an issue with rebar3_path_deps and not this plugin.

Curious if you've tried using _checkouts and if that works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants