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
Paul Schoenfelder
0843ea0fbb
Use smart shell for iex, and werl instead of erl
2014-04-16 12:45:52 -05:00
Paul Schoenfelder
bbd6abb168
Use werl instead of erl when executing iex.bat
2014-04-16 12:11:45 -05: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
eb62c3bd27
IEx now loads the .iex.exs file instead of the .iex one
2014-01-29 12:52:00 +01:00
José Valim
eb46fe30a2
-S cannot be given more than once
2013-12-12 11:55:25 +01:00
Martin Schürrer
fc42dc9bb7
Make mix work out of the box if it's escriptize-d.
2013-10-23 14:38:17 +02:00
José Valim
79366ee7fc
Drop .elixirrc
2013-10-21 10:15:27 +02:00
José Valim
9e644dfba1
Document issues and improve IEx booting process
2013-09-05 18:18:01 -03: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
db26fb2d18
Allow iex to --remsh into an Erlang node that has IEx
2013-08-08 10:46:17 +02:00
Derek McLoughlin
08ed1f087a
Fix for #1555
2013-08-06 14:28:23 +01:00
José Valim
2e8cb67880
Remove weird chars from bat, closes #1539
2013-08-03 15:55:13 +02:00
Derek McLoughlin
b92099f5bd
Fix issue with enableddelayedexpansion
2013-08-02 12:26:56 +01:00
Derek McLoughlin
c374b357bb
Issue #1531 - fix slow running of batch file in Windows
2013-08-02 11:20:58 +01:00
Tom Janssens
6d57915496
Fixed problem with elixir.bat removing exclamation marks from command line
2013-07-30 12:05:51 +02:00
Tom Janssens
ce86541135
Updated windows elixir.bat to use -pa instead of -env ERL_LIBS
...
Fixes #1469
2013-07-21 11:44:29 +02:00
José Valim
c0c8f7f72b
Allow -boot start to be overriden on releases
2013-07-09 21:29:35 +02:00
Yurii Rashkovskii
ba00a1ffc6
Erlang release for Elixir should use start.boot instead of elixir.boot
2013-07-09 12:05:12 -07:00
José Valim
5b2f44d1d7
Ensure --app switch does not halt upcoming ones, closes #1398
2013-07-09 11:24:34 +02:00
José Valim
b830485541
Ensure Elixir can run on directories with :, closes #1375
2013-07-07 10:00:46 +02:00
Vladimir Dronnikov
d9baf3c39e
elixir.bat: accomodate for paths with spaces
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2013-07-03 15:05:45 +02:00
José Valim
ca026039a3
Stop parsing on -S, closes #1294
2013-06-20 12:25:00 +02:00
Tom Janssens
00299fe7cb
Removed "*.ex/file" parameter checking from elixir.bat
...
If it now finds an unknown parameter, it assumes all paremeters are parsed
and just passes all the rest to the elixir script.
2013-06-20 12:17:24 +02:00
José Valim
1d09da7e53
Use = instead of == on shell comparison
2013-06-18 10:42:49 +02:00
José Valim
5115256853
Use proper path separator in msys
...
For now, we are only checking the path on msys but
we may need to check it for cygwin too.
Thanks to @ToJans for providing guidance and debug
information to sort this issue out.
2013-06-18 10:30:51 +02:00
José Valim
939942bdb3
Merge pull request #1270 from ToJans/master
...
With the new elixir.bat version the batch script only worked from the ./bin folder on windows
2013-06-17 04:46:46 -07:00
José Valim
e64be43090
Update executable docs
2013-06-17 13:44:44 +02:00
Tom Janssens
da898e1ac9
elixir.bat only worked from the bin folder
...
Apparently, when shifting parameters, the %~dp0 is not preserved,
so it needs to keep this value. This will fix things like iex on Windows, which just crashed with the previous version.
2013-06-17 14:43:33 +03:00
Tom Janssens
7768828d9c
Removeved the echo prefix from the elixir.bat file
...
Inline editing in github is dangerous!
2013-06-17 13:40:24 +03:00
Tom Janssens
8ece000489
Added parameter validation in the elixir.bat file
...
The batch file now allows both erlang and elixir commands before the ".ex" file; if any unknown parameter is passed before the ".ex file", an error is thrown.
2013-06-17 12:39:09 +02:00
Tom Janssens
c7a2442bc7
Make sure all Erlang parameters are extracted and parsed in elixir.bat
2013-06-17 11:19:44 +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
cafbd2c2d4
Ensure --cookie is set before remsh starts, closes #1190
2013-06-05 17:55:48 +08:00
José Valim
f5b0b7160c
Do not abort erl names processing when +iex or +compile appear
2013-05-23 22:10:24 +02:00
José Valim
2c98c0999d
An Elixir module now translates to Elixir.Module instead of Elixir-Module
2013-05-23 14:36:56 +02:00
Alexei Sholik
ed14ce4bc8
Add --dot-iex command line option to IEx
...
It allows one to override the standard locations where .iex is searched
and also makes it possible to disable .iex loading completely.
2013-05-22 15:57:37 +03:00
José Valim
31b4290797
Add IEx processing to Kernel.CLI
2013-05-22 12:53:55 +02:00
José Valim
90093bd4e2
Support --cookie, --hidden, Node.get_cookie and Node.set_cookie, closes #910
2013-05-05 12:34:15 -06:00
José Valim
5d00a9ff58
Support --help and -h in elixir and iex, closes #854
2013-03-17 14:24:53 -06:00