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

Restore ability to specify deps_dir on the command line #311

Closed
wants to merge 1 commit into from

Conversation

yrashk
Copy link
Contributor

@yrashk yrashk commented Sep 12, 2012

It was previously possible to run rebar compile deps_dir=/path/to/deps,
as of 70d27c5, it was nixed.

This commit fixes this problem.

@ghost ghost self-assigned this Sep 12, 2012
@yrashk
Copy link
Contributor Author

yrashk commented Sep 12, 2012

@Tuncer, Mix from Elixir relies heavily on being able to pass deps_dir to rebar when compiling rebar dependencies.

If you think about it, it does make a lot of sense to allow modifying deps_dir without touching rebar.config in cases when you want to manipulate the storage of dependencies in some unusual way.

/cc @josevalim

It was previously possible to run `rebar compile deps_dir=/path/to/deps`,
but as of 70d27c5, it was nixed.
@josevalim
Copy link
Contributor

👍 As @yrashk said, we use deps_dir= as a way to move both Mix and Rebar dependencies into a directory shared between both.

@ghost
Copy link

ghost commented Sep 15, 2012

Thanks, merged.

@ghost ghost closed this Sep 15, 2012
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants