Commit Graph
29 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 18db5220ce Check for exclamation marks on Windows (#13166)
Closes #13165.
2024-05-24 09:13:22 +02: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
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
John Fearnside b94267b66e Make batch style more consistent (#4944) 2016-07-05 21:00:51 +02:00
robi-wan 9fc0a4218b Windows: batch file improvements (#4642)
* Add usage information to iex.bat

Support command line switch '--help', '-h', '/h' and '/?' to show usage information for iex.bat.
Check argument with '/I' to make the test case insensitive:
This allows showing usage information with '--HELP', '-H' and '/H'.

Use 'setlocal' and 'endlocal' so changes to the environment are local to the batch file
(https://technet.microsoft.com/en-us/library/bb491001.aspx) - so there is no need to un-set __ELIXIR_IEX_FLAGS.

* Use documented syntax 'goto label' - without leading colon before the label

* Support cli switch '/?' to show help

Use label :end to jump to the end of the batch file after showing help text -
so the call to elixir.bat is not executed when showing help.

Use 'setlocal' and 'endlocal' so that the env var 'argc' is local to this batch file.

* Support cli switch '/?' to show help for elixir.bat

Test for cli switch '/?' does not need to be case insensitive.
2016-05-18 22:22:41 +02:00
José Valim 1ed403e8f7 Improve elixirc options and use upcoming waiting mode 2016-05-15 09:23:34 +02:00
Onorio Catenacci c3f3585851 Adding code to the Windows batch files to make it easier to diagnose issues on Windows with Elixir 2015-12-01 12:24:54 -05: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
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
Paul Schoenfelder 19ad387943 Print help when --help, -h, or /h are given on windows 2014-05-08 13:51:02 -05: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
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 8a77e878ab Fix bug when running mix on directories containig space, closes #840 2013-02-16 18:38:29 -07:00
José Valim bce07f3c27 --debug-info is now true by default 2012-11-27 14:51:10 +01:00
José Valim ffc370e53d Pass some options down to erl, accept --erl as arg 2012-07-31 01:08:11 +02:00
José Valim cf80551cc3 Escaping for bat files 2012-07-28 11:27:05 +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
Iaroslav YK_Sirius 6276e8b165 .bat files to run Elixir (elixir and elixirc) from Windows batch
Interactive Elixir throws an Erlang error when trying to run.
2012-03-29 14:44:26 +03:00