Commit Graph
40 Commits
Author SHA1 Message Date
Jonatan Männchen 980500551c Inline Licence Info & Copyright for non-test files (#14256) 2025-02-07 21:11:09 +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 6b5a9b6b4c Rename exit_code to exit_status for consistency 2021-07-15 20:53:18 +02:00
José Valim 59f90463bd Document compile flag 2020-12-09 17:15:13 +01:00
Xavier Noria 442ca65103 Use heredocs for top-level executables' usage docs (#9143) 2019-06-15 18:22:57 +02:00
José Valim 0d2f68e65f Shellcheck bin/elixirc too 2019-02-02 00:05: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
Aleksei Magusev af6823ef57 Correct indentation in elixirc output 2017-04-23 13:46:11 +02:00
Eksperimental a2c8f51d3d Improvements to elixirc command (#5977) 2017-04-16 12:19:28 +02:00
Eksperimental fe9bff6a12 Standardize elixirc bin files (#5970)
* Use present continuous in elixirc bin files
* Align descriptions of options in elixirc bin files
* Leave 30 chars to the left
* Options start with 2 white-spaces
2017-04-10 11:28:12 +01:00
eksperimental e59a9f82fd Use proper case for proper nouns and acronyms
Use proper case for proper nouns (e.g., Elixir, Rebar, Git, and others)
as well as acronyms (e.g., URL, HTTP, and others).
2016-06-06 15:17:59 +02:00
José Valim 1ed403e8f7 Improve elixirc options and use upcoming waiting mode 2016-05-15 09:23:34 +02:00
José Valim 9c549b3465 Fix help for elixirc executables, closes #2380 2014-06-06 20:59:43 +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 620e452f9f Do not reuse shell variables in IEx, closes #2149 2014-04-04 10:58:16 +02:00
Peter Minten 4c28f325e3 Supress 'Compiled' msg by default in elixirc
Adds a --verbose option to elixirc

This fixes #1618
2013-08-24 13:30:34 +02:00
José Valim d5fc147ff0 Quote arguments on elixir/iex help check 2013-08-14 11:25:28 +02:00
José Valim 8eba2fcba0 Merge pull request #1214 from baldmountain/feature/898-warnings-as-errors
Feature/898 warnings as errors
2013-06-14 23:20:25 -07: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
Geoffrey Clements 51171cb8e1 Mostly done. Still need to fix warning printout. 2013-06-09 07:49:37 -04:00
José Valim 31b4290797 Add IEx processing to Kernel.CLI 2013-05-22 12:53:55 +02:00
José Valim bce07f3c27 --debug-info is now true by default 2012-11-27 14:51:10 +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 329b49e9ee Get rid of -i shortcut for ignore module conflict 2012-07-29 21:40:59 +02:00
José Valim a36816f1aa Quote all the paths in sh files 2012-07-28 11:21:01 +02:00
José Valim c186bb19df Add d to print docs in IEx console, compile by default with docs 2012-07-16 15:29:29 +02:00
José Valim 3827b3a575 Revert "Allow multiple paths to be given to -pa and -pz, closes #229"
This reverts commit c3413246cf.
2012-04-04 11:32:45 -03:00
José Valim c3413246cf Allow multiple paths to be given to -pa and -pz, closes #229 2012-04-03 19:44:05 -03:00
José Valim 69a0d24f9d Add --ignore-module-conflict as official part of elixirc 2012-04-03 06:50:08 -03:00
João Britto 6e26bf020a Allow deep linking and handle CDPATH issues 2012-03-02 17:34:38 -03:00
João Britto a729c2d257 Bring readlink back 2012-03-01 19:03:04 -03:00
João Britto 9321b8848f Further improvements to script initialization 2012-03-01 18:40:14 -03:00
José Valim 29fc3ae31f Attempt to get rid of cd; pwd 2012-03-01 22:26:58 +01:00
José Valim 317f992146 bin/* docs. 2012-02-22 09:02:14 +01:00
José Valim f06e82680a Get rid of exunit now that we can pass multiple args to bin/elixir 2012-01-28 16:02:31 +01:00
José Valim b6da82f6e2 Bring Elixir CLI back. 2011-12-27 17:16:55 +01:00
José Valim 82e6d851c9 Update help info. 2011-04-24 13:27:55 +02:00
José Valim cf9087d9cf Compile stuff (OH YEAH). 2011-04-11 19:46:16 +02:00
José Valim ba0507ffc4 More work on command line compiler. 2011-04-11 13:10:40 +02:00