Re: [elixir-core:11321] elixirc_paths and deps including test libs separate from prod builds

2023-03-17 Thread José Valim
Yes, even another library. You can run it in test while you are in test. And the error message says it must be a relative path pointing inside the current directory, IIRC. On Fri, Mar 17, 2023 at 20:26 Brandon Gillespie wrote: > On 3/16/23 5:00 PM, José Valim wrote: > > > You shouldn't need to

Re: [elixir-core:11320] elixirc_paths and deps including test libs separate from prod builds

2023-03-17 Thread Brandon Gillespie
On 3/16/23 5:00 PM, José Valim wrote: You shouldn't need to bundle test code into your production code. 1. Deps are compiled in prod but in_umbrella deps are compiled in the same environment as the current project. You can achieve this by specifying the env option to the dependency, such as

[elixir-core:11320] mix deps.sync

2023-03-17 Thread 'Neil Lyons' via elixir-lang-core
I removed a dependency from `deps/0` in `mix.exs` and realised that it didn't remove it from the lock file. Is `mix deps.clean --unlock --unused` the correct way to fully remove a dependency [0]? If so I was thinking most developers probably don't realise this. Perhaps a new alias could be