summaryrefslogtreecommitdiff
path: root/src/rebar_shell.erl
Commit message (Collapse)AuthorAgeFilesLines
* 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.