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

add 'local install' and 'local upgrade' #784

Merged
merged 3 commits into from
Sep 10, 2015
Merged

Conversation

tsloughter
Copy link
Collaborator

This is a proposal for making it easy for a user to use rebar3 without the escript. Not relying on the escript allows for a faster start time and fully functioning shell.

To use:

$ ./bootstrap
$ ./rebar3 local install
$ export PATH=$PATH:~/.cache/rebar3/bin/rebar3
$ rebar3 <task>

@ferd
Copy link
Collaborator

ferd commented Sep 8, 2015

Would it be possible to make this work with any escript archive? Sounds like it would be more generic, or even moved under that command. Also wondering how easy it would be to move things to windows. I can do work on this too.

@tsloughter tsloughter changed the title add extract provider for extracting escript archive add 'local install' and 'local upgrade' Sep 8, 2015
@tsloughter
Copy link
Collaborator Author

I don't think we'd want it to work for just any escript. And to create the run script we need to know the name of the module to run and it has to use init:get_plain_arguments() for arguments.

Windows should be pretty simple to support.

ferd added a commit that referenced this pull request Sep 10, 2015
add 'local install' and 'local upgrade'
@ferd ferd merged commit e5b8a97 into erlang:master Sep 10, 2015
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