José Valim
38ddc98fef
Release v1.16.0
2023-12-22 17:45:12 +01:00
Wojtek Mach
9675e2285a
elixir.bat: Quote file paths ( #13172 )
2023-12-12 14:32:06 +01:00
José Valim
81a12b7774
Release v1.16.0-rc.1
2023-12-12 12:36:20 +01:00
José Valim
792d4cc631
Release v1.16.0-rc.0
2023-10-31 09:16:09 +01:00
José Valim
2a0b83af2f
Check for variable definition instead of expansion
2023-07-01 19:29:17 +02:00
cjschneider2
73b65eca5a
Use printf instead of echo to output user flags ( #12704 )
...
Fixes #12677 .
Using printf here prevents an error when outputting the filtered flag
`-e` as doing with with `echo "-e"` doesn't output anything
(deleting the option we wanted to filter).
More info: https://unix.stackexchange.com/a/65819
2023-06-23 16:04:29 +02:00
José Valim
6620b48fd1
Fix dbg on Erlang/OTP 25- ( #12697 )
2023-06-22 20:53:17 +02:00
José Valim
befe07559a
Fix path on Windows
2023-06-19 16:10:07 +02:00
José Valim
edc2326130
Start v1.16-dev
2023-06-03 20:27:23 +02:00
José Valim
d7bdf22708
Release v1.15.0-rc.1
2023-05-29 21:08:24 +02:00
José Valim
c28b5969ef
Fix prompt handling in Erlang/OTP 26, closes #12584
2023-05-23 13:44:13 +02:00
José Valim
3cdb3883e4
Release v1.15.0-rc.0
2023-05-22 13:49:22 +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
61a7af6ed1
Trim down work required on boot time
2023-01-18 23:38:02 +01:00
Michal J
cbfbb0b1b3
Fix escaping of positional args ( #12345 ) ( #12346 )
...
This fixes #1234 where previous escaping pattern accidentally
used invalid character range in the regexp.
By using `@` as delimiter and pushing the `-` to the end of the
bracket we avoid both problems.
2023-01-17 20:36:37 +01:00
José Valim
7590e08106
Make pry opt-in on dbg with --dbg pry
2023-01-13 11:23:27 +01:00
Kiru
6dacd83233
Add tilde to %1 to remove the extra quotations ( #12335 )
...
Closes #12330
2023-01-12 16:21:06 +01:00
José Valim
e73933a39e
Update CHANGELOG and docs
2022-09-19 13:53:57 +02:00
José Valim
e2d810d18f
Fix argument count for --no-pry
2022-09-03 00:31:36 +02:00
José Valim
fbf4b1f3c9
Start v1.15.0-dev
2022-07-27 12:54:37 +02:00
Wojtek Mach
f4a0840120
Return exit code in elixir.bat ( #12005 )
2022-07-22 21:13:47 +02:00
Andrea Leopardi
92ad061015
Add basic IEx dbg callback ( #11984 )
2022-07-17 10:50:09 +02:00
Sam Aaron
ff349faa10
Teach elixir.bat ELIXIR_CLI_DRY_RUN ( #11916 )
...
The *nix equivalent shell script echoes the full erl.exe path and args to stdout when the environment variable ELIXIR_CLI_DRY_RUN is set instead of executing it.
This patch adds this behaviour to the Windows bat file for consistency.
2022-06-11 00:42:12 +02:00
José Valim
f9400f2b75
Evaluate --dot-iex line by line
2022-04-25 12:10:35 +02:00
José Valim
cdc2a4cf1c
Fix CLI when Erlang flags are given after --rpc-eval
2022-02-23 23:15:50 +01:00
Wojtek Mach
f651d16cf5
Show errors for incorrect --rpc-eval usage ( #11659 )
...
Before this patch we had this:
iex> :os.cmd('elixir --sname foo --rpc-eval bar')
''
iex> :os.cmd('elixir --sname foo --rpc-eval')
'No file named \n'
2022-02-23 15:05:23 +01:00
José Valim
6d5744ff8c
Remove unecessary @ in bat file
2021-12-08 23:50:38 +01:00
José Valim
cfd768d70d
Make sure --version flag halts elixir and iex, closes #11453
2021-12-07 08:18:19 +01:00
José Valim
447591ff31
Start v1.14.0-dev
2021-11-01 20:57:18 +01:00
Dino Kovač
d9d010caf4
Add --short-version to Elixir CLI ( #11165 )
2021-08-04 14:51:45 +02:00
José Valim
6b5a9b6b4c
Rename exit_code to exit_status for consistency
2021-07-15 20:53:18 +02:00
José Valim
6bb647737b
Provide a mechanism to set a default ERTS_BIN ( #11086 )
...
Closes #11085 .
2021-06-24 22:14:33 +02:00
José Valim
bad5844c92
Set evaluation to empty space to fix string replace on batch, closes #10495 ( #10586 )
2020-12-21 16:22:55 +01:00
Haelwenn Monnier
e3aabad769
bin/elixir: Rename erl() function to erl_set() ( #10557 )
...
It conflicted with the erl executable for Korn-derived shells
where a function can be used in `exec command`.
2020-12-09 19:02:51 +01:00
José Valim
59f90463bd
Document compile flag
2020-12-09 17:15:13 +01:00
José Valim
54802cff9b
Add coloring support for Windows ( #10031 )
...
Closes #9810 .
2020-05-14 01:05:07 +02:00
Eksperimental
0acab05f53
Use titlecase in Elixir, Erlang, EEx, Unicode, and Dialyzer ( #9557 )
2019-11-19 09:10:29 +01:00
Eksperimental
1a25c42a1c
Fix recently introduced bug in NO_COLOR feature ( #9558 )
...
Before this fix, colors are disabled in my shell, and NO_COLOR variable is unset.
Fixes a bug introduced in 229efec200 (#9550 )
where the variable is checked to be set, when it should be the opposite.
2019-11-19 09:02:59 +01:00
Łukasz Jan Niemier
229efec200
Add support for NO_COLOR environment variable ( #9550 )
...
This is an implementation of [`NO_COLOR`][1] initiative that proposes
single environment variable to prevent using colours in terminal.
[1]: https://no-color.org
2019-11-18 14:31:52 +01:00
José Valim
08d6fe8cb8
Add parens to static remote nullary calls
...
test/erlang/module_test.erl have also been removed
as they have been ported elsewhere.
2019-11-08 17:59:08 +01:00
José Valim
9edeeaf8ba
Quote executable path on Windows, closes #9242 ( #9243 )
2019-07-26 16:01:45 +02:00
Xavier Noria
442ca65103
Use heredocs for top-level executables' usage docs ( #9143 )
2019-06-15 18:22:57 +02:00
José Valim
aa1269173d
Allow to dry run the Elixir CLI command
2019-04-02 23:19:24 +02:00
José Valim
8ab666e4ae
Add eval and version commands to releases ( #8758 )
...
We also split start | daemon iex | elixir into start and start_iex,
daemon and daemon_iex.
2019-02-02 21:27:28 +01:00
José Valim
0d2f68e65f
Shellcheck bin/elixirc too
2019-02-02 00:05:51 +01:00
José Valim
daf33390bb
Shellcheck improvements to bin/iex
2019-02-01 10:39:09 +01:00
Eksperimental
082ac54955
Make bin/elixir POSIX compliant ( #8736 )
...
We use Shellcheck as a linter
https://github.com/koalaman/shellcheck
2019-01-30 19:42:01 +01:00
José Valim
6900e34b3f
Fix OS assertion on Elixir script
2019-01-29 18:33:04 +01:00
José Valim
8bf5e2f683
Add missing parens to elixir.bat
2019-01-29 17:21:22 +01:00
José Valim
b61d577586
More fixes on Windows with werl
2019-01-29 15:40:17 +01:00