Commit Graph
120 Commits
Author SHA1 Message Date
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
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