José Valim
da50584060
Deprecate def/4 and friends in favor of def/2 with unquote and friends
2013-08-23 19:42:20 +02:00
José Valim
0510512375
Deprecate to_binary in favor of to_string
...
We also rename Binary.Chars to String.Chars.
As Binary.Chars was the protocol used for interpolation,
it is semantically correct to have a protocol that works
on strings, instead of raw binaries.
2013-08-22 12:19:30 +02:00
José Valim
fb8ad142e9
Deprecate :umbrella path opt in favor of :in_umbrella
...
The previous :umbrella option was ambiguous, as it was not clear
if it was a dependency inside an umbrella or an umbrella dependency.
2013-08-21 10:31:17 +02:00
José Valim
7a50baa37b
Make a distinction in between overriden and converged, closes #1631
2013-08-21 10:31:17 +02:00
José Valim
fcef2d57fc
Rename manifest -> manifests to support compilers with multiple manifests
2013-08-21 09:12:25 +02:00
Tom Janssens
df9098ea36
Refactored Mix.Tasks.Local.Install to make it more explicit
2013-08-20 10:15:11 +02:00
meh
34e0637520
Fix for Mix.Version comparisons with dev versions
2013-08-18 17:29:32 +02:00
José Valim
b4a42a4f87
Remove unecessary modules from docs
2013-08-17 09:09:23 +02:00
José Valim
9956785769
Do not show dest info when comparing deps
2013-08-16 09:22:13 +02:00
John Warwick
74e194669b
Fixed typos in Mix.Shell.Process docs
2013-08-15 14:38:23 -04:00
José Valim
f4270a0432
Do not touch lock manifest if there is no change
2013-08-15 17:04:32 +02:00
José Valim
eb9753ddd1
Limit inspect by default, closes #1595
2013-08-15 10:35:04 +02:00
José Valim
db47bd56b4
Add Path.relative_to_cwd and rely on it when generating stacktraces
2013-08-14 12:36:54 +02:00
José Valim
cea31f69dc
Review and deprecate list <-> binary conversion
2013-08-14 11:16:37 +02:00
José Valim
52188fab89
Move from unicode to list to String.to_char_list
2013-08-13 08:39:16 +02:00
José Valim
19ac199b06
Move from unicode to binary to String.from_char_list
2013-08-13 08:39:16 +02:00
Eric Meadows-Jonsson
5a620ca319
Remove sleep in recompile test
2013-08-12 22:01:20 +02:00
José Valim
d3cb41614b
Merge pull request #1561 from thmzlt/option-parser-invalid-options
...
Improve OptionParser switch validation
2013-08-11 02:54:18 -07:00
José Valim
1b5d81c4d4
Clean up app.start tests
2013-08-10 19:28:25 +02:00
Eric Meadows-Jonsson
bf96705d5f
Recompile project if elixir version changes
2013-08-10 17:14:41 +02:00
Thomaz Leite
a577051b09
Update mix tasks for OptionParser permanent invalid list
2013-08-09 09:52:15 -07:00
José Valim
d8393f97ca
Remove deprecated code
2013-08-06 17:21:40 +02:00
Tristan O'Neil
74c3ed0cfb
Test mix clean with the --all flag.
2013-08-05 17:04:19 -04:00
Tristan O'Neil
5d1a6c2fc0
Original clean arguments need to be passed to deps.clean.
2013-08-05 16:15:45 -04:00
José Valim
6470a36e68
Ensure watched extensions trigger full recompilation on change
2013-08-04 19:22:15 +02:00
Yurii Rashkovskii
591c576307
Minor mix compile.elixir task documentation fix
2013-08-04 09:48:34 -07:00
Yurii Rashkovskii
bb98f6a40a
Ensure even a greater level of quiteness when --quiet is used in deps
...
Before (on deps.get --quiet):
==> project
* Compiling project_p1
==> project_p2
* Compiling project_p1
* Compiling project
* Compiling project
==> project_p3
* Compiling project_p1
* Compiling project
* Compiling project
==> project_p4
* Compiling project_p1
* Compiling project
* Compiling project
==> project_p5
* Compiling project_p1
* Compiling project
* Compiling project
Now:
(empty)
2013-08-04 09:34:56 -07:00
José Valim
9861d8c55c
Only touch look if a dependency possibly changed
2013-08-04 17:51:49 +02:00
José Valim
eb3d720556
Use a specific .compile.deps flag for tracking deps changes
2013-08-04 16:32:42 +02:00
José Valim
7df5d157af
Remove space excess in compile.elixir docs
2013-08-01 22:42:08 +02:00
José Valim
d7ff228b14
Update docs for Mix.project/0
2013-08-01 22:35:51 +02:00
José Valim
6a68ca5eef
Deprecate function/1 and function/3
2013-07-31 12:58:07 +02:00
Kevin Liddle
55623c1dcb
always remove unmatched beam files when compiling
2013-07-30 11:50:02 +02:00
José Valim
2e348288a1
Remove old mix artifacts without a need for force or changes
2013-07-30 11:47:29 +02:00
José Valim
a453ea1afa
Fix usage of char_list and fix the build
2013-07-28 22:57:46 +02:00
Eric Meadows-Jonsson
4c7ee1e65c
Dont escape " in shell commands on windows
2013-07-28 18:29:17 +02:00
José Valim
12f6a9aa86
Fix some invalid error messages from Mix
2013-07-27 12:21:50 +02:00
José Valim
fe340feb06
test_helper files still need to be required upfront
...
Since they have to be required upfront, it makes no sense to have
a Code.require_file("test_helper.exs", __DIR__) in Mix projects
since the files can't run in isolation anyway.
2013-07-27 12:15:00 +02:00
José Valim
1e90076738
Make it explicit that some tasks require a project to be defined
2013-07-27 10:43:41 +02:00
José Valim
456b84616c
mix run now properly sets System.argv
2013-07-27 10:17:02 +02:00
AtKaaZ
004bfc43a4
fixing a test to also work in Windows
...
used to do this:
'MIX_ENV' is not recognized as an internal or external command,
operable program or batch file.
Tested to work on both Windows and Linux.
However the following is seen on console:
Mix requires the compile path "ebin" to be inside a directory with the
same name as the application name :no_mixfile,
got "s:/workspace.elixir.2013/elixir/lib/mix/tmp/Mix.CLITest/test env/ebin"
quick test with `make test_mix`
2013-07-26 22:02:29 +03:00
José Valim
ca6b8d356e
No longer clean or unlock deps unless --all is given
2013-07-26 17:25:53 +02:00
José Valim
178b9370d0
Ensure path dependencies are compiled on mix deps.get
2013-07-26 17:18:08 +02:00
José Valim
7f18e1426e
Only set preferred cli env if MIX_ENV is nil
2013-07-25 14:55:46 +02:00
José Valim
d77d013b32
Support --color option in ExUnit
...
The option can also be passed via mix, closes #1364
2013-07-25 12:31:18 +02:00
José Valim
1db491eb49
Add mix cmd
2013-07-25 11:32:21 +02:00
José Valim
4d70494474
Use %B on docs
2013-07-25 11:06:23 +02:00
José Valim
954310ae2c
Get rid of Mix.Tasks.IEx
2013-07-25 11:02:29 +02:00
José Valim
f86c99c91a
Add umbrella: true to supported deps options
2013-07-25 11:00:50 +02:00
José Valim
408ef28da2
Group ExUnit.start calls into one, closes #1489
2013-07-25 10:38:28 +02:00