summaryrefslogtreecommitdiff
path: root/src/rebar_shell.erl
Commit message (Collapse)AuthorAgeFilesLines
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-3/+3
|
* add rebar update providerTristan Sloughter2014-08-161-1/+0
|
* move back to single command with arguments for comamnd after itTristan Sloughter2014-08-161-1/+1
|
* large refactoringTristan Sloughter2014-08-161-3/+31
| | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands
* update group leaders when restarting user processalisdair sullivan2014-07-071-4/+26
| | | | | | | | | | | ensure any processes with a reference to an old user process as their group leader are updated to use the new user process. this introduces a slight delay at startup as the system must wait for the new processes to be registered. there is a max wait period of three seconds (before the shell command gives up and throws a timeout error) fixes #314 ("rebar shell" somehow blocks using io:format in gen_server handle_call)
* improve behaviour of `rebar shell`alisdair sullivan2014-05-261-21/+34
| | | | | | | | | | | | | | | | | | | | | | | | | attempt to emulate the behavior of `erl -pa ebin -pa deps/*/ebin` fix error messages and formatting issues of `rebar shell` by shutting down and restarting the user subsystem in a mode more hospitable to the shell than the simple user started when run as an escript. emulate `error_logger` behaviour when the shell is run via `erl` add documentation of the shell command limitations: the erlang interrupt handler is not enabled when running as an escript and there is no interface to re-enable it via erlang code. this means `ctrl-c` will immediately exit the running process unlike when running the shell via `erl`. `ctrl-g` is, however, unaffected the user subsystem is killed and restarted but not supervised. if your code somehow relies on the user subsystem crashing and restarting `rebar shell` may interfere with it's operation
* Re-use rebar_utils:ebin_dir()Tuncer Ayaz2012-08-061-4/+1
|
* Add experimental notice to test-compile and shellTuncer Ayaz2012-07-311-0/+1
|
* Fix crazy indentation :-)Kresten Krab Thorup2012-07-111-11/+7
|
* untabify and add some commentsKresten Krab Thorup2012-07-111-5/+7
|
* Initial version of "rebar shell" commandKresten Krab Thorup2012-07-111-0/+60
For now, this is just a proof of concept; would make sense to add a lot of things, such as quick access to invoking rebar itself (with approproate code reloading), as well as an eunit-aware version so that tests could be run interactively.