Commit Graph
112 Commits
Author SHA1 Message Date
José Valim 7e4fbe657d Release v1.13.4 2022-04-07 08:08:02 +02:00
José Valim b63f8f541e Release v1.13.3 2022-02-09 16:26:17 +01:00
José Valim 9ad182986c Release v1.13.2 2022-01-13 10:51:17 +01:00
José Valim 33f9d04851 Release v1.13.1 2021-12-14 23:31:53 +01:00
José Valim 2efc1e5cac Make sure --version flag halts elixir and iex, closes #11453 2021-12-07 08:24:01 +01:00
José Valim caed7d1d3f Release v1.13.0 2021-12-03 19:03:54 +01:00
José Valim 2765e0f210 Release v1.13.0-rc.1 2021-11-16 21:36:19 +01:00
José Valim d7fea95157 Branch out v1.13 2021-11-01 20:53:52 +01:00
Dino Kovač 89a5bfd2cf Add --short-version to Elixir CLI (#11165) 2021-08-04 14:51:45 +02:00
José Valim 4d28338d8e Provide a mechanism to set a default ERTS_BIN (#11086)
Closes #11085.
2021-06-24 22:14:33 +02:00
Haelwenn Monnier 2f77ee9afc 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
Eksperimental b0d4288174 Use titlecase in Elixir, Erlang, EEx, Unicode, and Dialyzer (#9557) 2019-11-19 09:10:29 +01:00
Eksperimental 00535b114c 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 499781d5dd (#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 499781d5dd 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
Xavier Noria 554971c613 Use heredocs for top-level executables' usage docs (#9143) 2019-06-15 18:22:57 +02:00
José Valim 579c235a6f Allow to dry run the Elixir CLI command 2019-04-02 23:19:24 +02:00
Eksperimental bacda57b33 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 0eff63b349 Fix OS assertion on Elixir script 2019-01-29 18:33:04 +01:00
José Valim e08a2b2642 More fixes on Windows with werl 2019-01-29 15:40:17 +01:00
José Valim 50cab0b962 Add RELEASE_NODE, RELEASE_COOKIE and fixes 2019-01-29 15:30:51 +01:00
José Valim dc030376d6 Basic mix release support (#8677)
See #8612.
2019-01-28 21:42:07 +01:00
José Valim 427c2aa3ec 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 a14e2eb316 Suggest quotes where appropriate (#8561) 2019-01-02 14:40:22 +01:00
José Valim f045475934 Remove undocumented environment variable 2018-12-23 19:00:41 +01:00
José Valim 8f0fe3d23f Remove unecessery releases directory check (#7359)
This check was added when Elixir itself was used as a release
but that's not the case anymore.
2018-02-17 09:08:00 +01:00
Andrea Leopardi ec088749db Use single-equals when comparing variables in bin/elixir (#6028)
Double-equals is a Bash-specific alias for "=" and it doesn't work
everywhere. We use single-equal in the rest of the script anyways.
2017-04-22 15:15:49 +02:00
Eksperimental acc19f8e39 Document --help option in elixir command and include long version of --version (#5971) 2017-04-10 11:29:05 +01:00
José Valim 66b97943b4 Update docs and CHANGELOG 2016-03-17 13:31:36 +01:00
Andrea Leopardi 4ea3d6499f Add --logger-otp and --logger-sasl to the command-line args
I added the following command-line arguments to the ./bin/elixir binary:

  * `--logger-otp true|false` - to configure the `:handle_otp_reports`
    of the `:logger` application
  * `--logger-sasl true|false` - to configure the `:handle_sasl_reports`
    of the `:logger` application
2016-03-17 11:04:33 +01:00
José Valim 214e2a3a7d Add in PATH note to remaining files 2016-02-18 07:40:52 +01:00
Joe Yates c78755a0fb Documentation fixes 2015-12-03 23:28:20 +01:00
eksperimental 7b2fa9192a 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 72256bc094 Add support for --werl in Windows bash-like shells 2014-12-10 18:00:27 +01:00
Haoming Zhu 594c300a1b fix previous commit typo bug 2014-09-12 01:48:04 +08:00
Chris Hyndman 6bb4c4de03 Use quotes to avoid space-in-path issues with cygpath 2014-08-11 15:13:50 -07:00
José Valim a2662a4b51 Ensure elixir and iex works on MinGW 2014-08-10 15:11:18 +02:00
José Valim 1d29262949 Check for terminal on both stdout and stderr 2014-08-10 14:40:46 +02:00
José Valim 1d655fa8f2 Check for terminal support from Elixir command line 2014-08-10 13:57:41 +02:00
Chris Hyndman bf270d144f Prepend -noshell and friends always within Cygwin
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
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 16f3b928a1 Do not set -noshell if we are going to override it afterwards 2014-06-22 14:16:40 +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 66214e97b2 Do not set +fnu by default 2014-04-21 11:18:02 +02:00
José Valim 6624f31472 Merge branch 'jv-char-data'
Conflicts:
	lib/eex/lib/eex/tokenizer.ex
	lib/elixir/lib/file.ex
	lib/elixir/lib/kernel.ex
	lib/elixir/lib/record/extractor.ex
	lib/elixir/lib/string.ex
	lib/ex_unit/lib/ex_unit/doc_test.ex
	lib/mix/lib/mix/archive.ex
	lib/mix/lib/mix/dep/fetcher.ex
	lib/mix/lib/mix/dep/umbrella.ex
2014-04-21 08:38:48 +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 323a7eef1f Convert File and IO to char data, use +fnu flag by default 2014-02-22 20:08:44 +01:00
José Valim 5bda5d503b Support ERL_PATH in bin/elixir 2014-02-11 10:03:53 +01:00
José Valim eb46fe30a2 -S cannot be given more than once 2013-12-12 11:55:25 +01:00
José Valim 79366ee7fc Drop .elixirrc 2013-10-21 10:15:27 +02:00