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
José Valim
8a77e878ab
Fix bug when running mix on directories containig space, closes #840
2013-02-16 18:38:29 -07:00
José Valim
3137bfc614
Move bootstrap code for IEx to IEx.CLI
2013-01-29 12:30:09 -07:00
José Valim
aa9c93305e
Provide iex -S mix instead of mix iex
...
In order for iex to work reliably, we need it to pass special
parameters to the Erlang VM. Therefore, it cannot be started
via a regular Elixir script, as in `mix iex`.
Therefore, we need to use `iex -S mix` which first boots iex
and then run the given mix commands.
Closes #692
2013-01-20 12:23:55 -07:00
José Valim
7841f68072
Start an app and its dependencies with --app
2012-12-05 15:55:06 +01:00
José Valim
d55afa44c6
Ensure new IEx works on Windows
2012-11-30 17:07:12 +01:00
José Valim
a061528731
Ensure IEx runs only after Elixir's CLI process its options
2012-11-30 17:07:12 +01:00
José Valim
2ae2b88ea8
Fix mix executable
2012-11-30 13:56:18 +01:00
José Valim
b3d203712a
Fix mix iex
2012-11-30 13:49:18 +01:00
José Valim
bce07f3c27
--debug-info is now true by default
2012-11-27 14:51:10 +01:00
José Valim
678fafe7c1
Improve IEx by using the -user option (ht @yrashk)
2012-11-22 10:01:57 +01:00
José Valim
e7e5e5d72a
Supports --detached option on command line, closes #487
2012-09-26 19:26:34 -05:00
Devin Torres
8a80ead20c
Use exec to replace the shell process instead of forking
2012-09-13 17:04:35 -05:00
thomasc
b0454837d2
Make elixir source $HOME/.elixirrc if it exists
2012-08-10 18:44:33 +02:00
José Valim
9ddf626d51
Support -S as an option, closes #415
2012-07-31 14:45:35 +02:00
José Valim
05e52f9437
Make mix an Elixir script
2012-07-31 13:29:34 +02:00
José Valim
ffc370e53d
Pass some options down to erl, accept --erl as arg
2012-07-31 01:08:11 +02:00
José Valim
1fe5cad980
Do not rely on bashisms
2012-07-30 17:06:52 +02:00
José Valim
7fa6576f38
Tidy up remsh support in iex via --remsh option, closes #368
2012-07-30 14:34:31 +02:00
José Valim
329b49e9ee
Get rid of -i shortcut for ignore module conflict
2012-07-29 21:40:59 +02:00
José Valim
b5331dd7c7
Initial work on remsh
...
This also ensures that we can start Elixir shells (remote or not)
from the Ctrl+G setting passing 'Elixir-IEx' as the shell name.
2012-07-29 17:27:55 +02:00
José Valim
cf80551cc3
Escaping for bat files
2012-07-28 11:27:05 +02:00
José Valim
a36816f1aa
Quote all the paths in sh files
2012-07-28 11:21:01 +02:00
José Valim
be2bffb320
Adjustments for release
2012-07-26 17:56:30 +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
15fa33a6dc
Add Mix.Project.config and Mix.Project.current
2012-07-16 15:29:28 +02:00
José Valim
a5a2025daf
Add mix file executables
2012-07-16 15:29:27 +02:00
José Valim
0252cd8b85
Break IEx into many files, move it to the root namespace
2012-07-11 12:11:51 +02:00
José Valim
01009507ab
Allow IEx to take control even when started without -noinput
2012-07-11 11:51:55 +02:00
José Valim
8d973d08ed
Fixes for .bat files
2012-07-05 21:22:34 +02:00