Jonatan Männchen
980500551c
Inline Licence Info & Copyright for non-test files ( #14256 )
2025-02-07 21:11:09 +01:00
José Valim
6620b48fd1
Fix dbg on Erlang/OTP 25- ( #12697 )
2023-06-22 20:53:17 +02:00
José Valim
c28b5969ef
Fix prompt handling in Erlang/OTP 26, closes #12584
2023-05-23 13:44:13 +02:00
José Valim
e1eecb8ca6
Move path loading and IEx booting to Elixir ( #12375 )
...
This gives us more control to cache paths
and over boot compared to relying on scripts.
This also makes it easier for someone to provide
alternatives to IEx.
2023-02-02 21:45:24 +01:00
José Valim
7590e08106
Make pry opt-in on dbg with --dbg pry
2023-01-13 11:23:27 +01:00
Andrea Leopardi
92ad061015
Add basic IEx dbg callback ( #11984 )
2022-07-17 10:50:09 +02:00
José Valim
f9400f2b75
Evaluate --dot-iex line by line
2022-04-25 12:10:35 +02:00
Xavier Noria
442ca65103
Use heredocs for top-level executables' usage docs ( #9143 )
2019-06-15 18:22:57 +02:00
José Valim
daf33390bb
Shellcheck improvements to bin/iex
2019-02-01 10:39:09 +01:00
José Valim
1c5728eb55
Add RELEASE_NODE, RELEASE_COOKIE and fixes
2019-01-29 15:30:51 +01:00
José Valim
fdba441757
Revamp Elixir CLI ( #8595 )
...
This commit adds 6 new options to elixir CLI to aid releases:
* `--pipe-to PIPEDIR LOGDIR` - invokes run_erl with daemon pipe and logs (only on Unix-like systems)
* `--rpc-eval NODE COMMAND` - evaluates the given expression on the given node
* `--boot FILE`, `--boot-var VAR VALUE`, `--erl-config FILE` and `--vm-args FILE` - which are equivalent to Erlang's `-boot`, `-boot_var`, `-config` and `-args_file`
We have also rewritten the CLI to only pass Elixir options to Kernel.CLI.
2019-01-08 20:44:43 +01:00
José Valim
e4d656618a
Suggest quotes where appropriate ( #8561 )
2019-01-02 14:40:22 +01:00
José Valim
2a35074ee4
Do not start oldshell alongside IEx, closes #5730
...
Prior to this patch, both oldshell and IEx would start,
which would make them compete for the standard io. This
could be deterministically triggered by pasting input
with multiple lines on the terminal.
This commit guarantees the oldshell is no longer started.
2017-05-29 11:29:27 +02:00
Eksperimental
0817652f80
Standardize iex bin files ( #5972 )
...
* Align descriptions of options in iex bin files
* Options start with 2 white-spaces
* Document --help option in iex command and include long version of --version
2017-04-10 11:26:25 +01:00
José Valim
0709aff0ea
Update docs and CHANGELOG
2016-03-17 13:31:36 +01:00
Jay Hayes
c364a2c4a2
Improve documentation for iex -S
2016-02-17 16:34:30 -06:00
eksperimental
75d2d6cff8
Use Title Case and backticks for Erlang and Elixir applications
...
It includes Erlang, Elixir, ExUnit, ExDoc, Logger, IEx, elixirc
It leaves Mix for a different PR.
Command to spot these words:
ag -s '(?<!(\`))(?<!(\.))(?<!(/))(?<!(:))(?<!(_))(erlang|elixir|eex|iex|ex_unit|ex_doc|logger|elixirc)(?!(:))(?!(\?))(?!(_))(?!(-))(?!(\.))(?!(\`))(?!(/))(?!(>))' \
--ignore "*.erl" --ignore "*.yrl" --ignore "*.src"
2015-09-09 01:51:22 +07:00
Lars Storjord
c88a1d2cc7
Add support for --werl in Windows bash-like shells
2014-12-10 18:00:27 +01:00
José Valim
2ad4db5ef5
Do not set not shell as we know have a custom prompt
2014-10-15 12:28:13 +02:00
José Valim
a92eb709e3
Ensure elixir and iex works on MinGW
2014-08-10 15:11:18 +02:00
José Valim
8fc9a2f509
Set -noshell on bin/iex
2014-08-08 22:11:06 +02:00
José Valim
4458ee1232
Remove --gen-debug option
2014-06-26 13:35:54 +02:00
José Valim
10ea9bdd40
Mention ERL_COMPILER_OPTIONS and rename ELIXIR_ERL_OPTS to ELIXIR_ERL_OPTIONS
...
Closes #2271
2014-05-12 09:47:37 +02:00
José Valim
8010e44bd4
Bring the multiple .iex.exs functionality
2014-05-08 20:21:30 +02:00
José Valim
de26484bda
Normalize IEx and ExUnit configurations
2014-05-08 19:07:25 +02:00
José Valim
620e452f9f
Do not reuse shell variables in IEx, closes #2149
2014-04-04 10:58:16 +02:00
James Fish
9be2f7f3d3
Add --gen-debug
...
Use erlang's -generic_debug to turn on default [:log, :statistics] for
:gen_servers
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2014-03-17 16:34:02 +01:00
José Valim
5bda5d503b
Support ERL_PATH in bin/elixir
2014-02-11 10:03:53 +01:00
José Valim
eb62c3bd27
IEx now loads the .iex.exs file instead of the .iex one
2014-01-29 12:52:00 +01:00
José Valim
eb46fe30a2
-S cannot be given more than once
2013-12-12 11:55:25 +01:00
José Valim
9e644dfba1
Document issues and improve IEx booting process
2013-09-05 18:18:01 -03:00
José Valim
d5fc147ff0
Quote arguments on elixir/iex help check
2013-08-14 11:25:28 +02:00
José Valim
db26fb2d18
Allow iex to --remsh into an Erlang node that has IEx
2013-08-08 10:46:17 +02:00
José Valim
e64be43090
Update executable docs
2013-06-17 13:44:44 +02:00
zambal
0ddb31992b
removed use of local variables in shell scripts in order to remove dependency on bash
2013-06-09 14:51:29 +02:00
José Valim
2c98c0999d
An Elixir module now translates to Elixir.Module instead of Elixir-Module
2013-05-23 14:36:56 +02:00
Alexei Sholik
ed14ce4bc8
Add --dot-iex command line option to IEx
...
It allows one to override the standard locations where .iex is searched
and also makes it possible to disable .iex loading completely.
2013-05-22 15:57:37 +03:00
José Valim
31b4290797
Add IEx processing to Kernel.CLI
2013-05-22 12:53:55 +02:00
José Valim
5d00a9ff58
Support --help and -h in elixir and iex, closes #854
2013-03-17 14:24:53 -06:00
José Valim
3137bfc614
Move bootstrap code for IEx to IEx.CLI
2013-01-29 12:30:09 -07:00
José Valim
678fafe7c1
Improve IEx by using the -user option (ht @yrashk)
2012-11-22 10:01:57 +01:00
Devin Torres
8a80ead20c
Use exec to replace the shell process instead of forking
2012-09-13 17:04:35 -05:00
José Valim
ffc370e53d
Pass some options down to erl, accept --erl as arg
2012-07-31 01:08:11 +02:00
José Valim
1fe5cad980
Do not rely on bashisms
2012-07-30 17:06:52 +02:00
José Valim
7fa6576f38
Tidy up remsh support in iex via --remsh option, closes #368
2012-07-30 14:34:31 +02:00
José Valim
b5331dd7c7
Initial work on remsh
...
This also ensures that we can start Elixir shells (remote or not)
from the Ctrl+G setting passing 'Elixir-IEx' as the shell name.
2012-07-29 17:27:55 +02:00
José Valim
a36816f1aa
Quote all the paths in sh files
2012-07-28 11:21:01 +02:00
José Valim
0252cd8b85
Break IEx into many files, move it to the root namespace
2012-07-11 12:11:51 +02:00
José Valim
01009507ab
Allow IEx to take control even when started without -noinput
2012-07-11 11:51:55 +02:00
José Valim
d5031b6347
Move all code to erlang style apps
2012-07-05 20:20:16 +02:00