John Fearnside
b94267b66e
Make batch style more consistent ( #4944 )
2016-07-05 21:00:51 +02:00
John Fearnside
b5170eae8f
detect terminal, detect ANSI support ( #4942 )
2016-07-05 17:17:12 +02: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
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
José Valim
0709aff0ea
Update docs and CHANGELOG
2016-03-17 13:31:36 +01:00
Andrea Leopardi
bbd7572e4d
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
ed48d727c8
Add in PATH note to remaining files
2016-02-18 07:40:52 +01:00
Jay Hayes
c364a2c4a2
Improve documentation for iex -S
2016-02-17 16:34:30 -06:00
Brett N. DiFrischia
6b8fbd7e0d
Use IEX_WITH_WERL environment variable to enable --werl by default.
2015-12-23 15:30:40 -06:00
Brett N. DiFrischia
77b681c354
Add environment variable to iex.bat so user can default to --werl if desired.
2015-12-22 11:16:40 -06:00
Franco Lombardo
f4ed59727c
mix.bat changed to emulate mix script on Unix-like systems. This solves #4075
...
Using mix file as input to elixir. Note that #!/usr/bin/env elixir will be
intepreted as an Elixir comment
2015-12-14 21:49:53 +01:00
Joe Yates
7f40ee3aae
Documentation fixes
2015-12-03 23:28:20 +01: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
titib
f93fd41718
Update elixir.bat
...
Correct issue https://github.com/elixir-lang/elixir/issues/3619
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2015-08-27 14:26:21 +02: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
870031028c
Remove unecessary comment
2014-10-08 13:29:09 +02:00
Haoming Zhu
75042cdee9
fix previous commit typo bug
2014-09-12 01:48:04 +08:00
Chris Hyndman
550e82bb9f
Use quotes to avoid space-in-path issues with cygpath
2014-08-11 15:13:50 -07:00
José Valim
a92eb709e3
Ensure elixir and iex works on MinGW
2014-08-10 15:11:18 +02:00
José Valim
0c6f52add8
Check for terminal on both stdout and stderr
2014-08-10 14:40:46 +02:00
José Valim
e25e2d6bcc
Check for terminal support from Elixir command line
2014-08-10 13:57:41 +02:00
Chris Hyndman
cfabfc9c04
Suppress "-s elixir start_cli" for IEx
2014-08-08 18:13:42 -07:00
José Valim
8fc9a2f509
Set -noshell on bin/iex
2014-08-08 22:11:06 +02:00
Chris Hyndman
b3c981f780
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
Chris Hyndman
7ec850264b
Add new --werl option
2014-07-28 07:49:02 -10:00
Chris Hyndman
378332b697
Use start to spawn werl without lingering cmd window
2014-07-28 07:42:28 -10:00
Chris Hyndman
8d4e9f5cb7
Use setlocal/endlocal to prevent polluting user's environment
2014-07-28 07:42:27 -10:00
Chris Hyndman
aaf1c0b824
Fixed to use flattened array $newArgs
2014-07-17 16:19:26 -07:00
Chris Hyndman
ba87abad76
Revise mix.ps1 to use FileInfo object to represent path, modify $args directly
2014-07-17 15:09:38 -07:00
Chris Hyndman
b795fc6d68
Call Mix.start, Mix.CLI.main directly in bin\mix.bat
2014-07-15 13:42:58 -07:00
Chris Hyndman
0807d47ec9
Use short filenames to handle spaces in path to bin\mix
2014-07-08 17:09:23 -07:00
Chris Hyndman
28b46c6139
Umanbiguous check for parameters
2014-07-01 13:51:25 -07:00
Chris Hyndman
197ba93864
Process Erlang commands last
2014-07-01 13:44:23 -07: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
chyndman
4d7c75f2ca
Disambiguate (w)erl to (w)erl.exe
2014-06-12 12:23:31 -07:00
José Valim
9c549b3465
Fix help for elixirc executables, closes #2380
2014-06-06 20:59:43 +02:00
chyndman
1a93d35d9c
Initial PowerShell script addressing mix commas
2014-06-03 16:45:24 -07:00
chyndman
df1366c1d6
elixir.bat fixed to prevent eating quotes
2014-05-22 14:02:28 -07:00
chyndman
1c9dff1fee
elixir.bat only triggers help at first argument
2014-05-22 11:57:25 -07:00
chyndman
82f800e1c5
elixir.bat defers to mix for handling help options
2014-05-22 09:51:28 -07: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
Onorio Catenacci
565a7656c4
Fixing issue with command line parameters getting passed to elixir.bat from iex.bat
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2014-04-29 18:08:16 +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
Paul Schoenfelder
6243bc8dc8
Fix bad conditional logic when checking for +iex
2014-04-17 11:27:38 -05:00