Commit Graph
845 Commits
Author SHA1 Message Date
José Valim 55d0f568da Improve docs and code regarding ansi formatting 2014-05-08 21:09:34 +02:00
José Valim 8bfe32448e Allow mix/apps configuration via ~/.mix/config.exs 2014-05-08 20:57:58 +02:00
José Valim 8b203a8379 Use IO.ANSI.Docs to format mix help 2014-05-08 20:13:29 +02:00
José Valim de26484bda Normalize IEx and ExUnit configurations 2014-05-08 19:07:25 +02:00
José Valim cbef7e9629 Initial work on config 2014-05-08 16:55:14 +02:00
José Valim a184b4061e Rename :application to Application and remove unused fixtures 2014-05-08 16:55:14 +02:00
José Valim d08e2bb2fd Ensure --cover works on umbrella apps 2014-05-07 14:39:19 +02:00
James Fish c2ceeb9ea4 Improve application error formatting
* Format (nested) supervision tree init failures
* Format :gen_server exit reasons
* Fixes :invalid_options text
* Fixes text when when application start returns {:error, reason}
2014-05-07 00:22:51 +01:00
José Valim f1effcb485 Use Exception.message/1 instead of exception.message 2014-05-06 18:33:02 +02:00
José Valim 237c485411 Improve docs for generated apps 2014-05-06 15:04:31 +02:00
Eric Meadows-Jönsson f8da2fb9c5 Use rebar hosted on S3 2014-05-06 13:47:53 +02:00
José Valim 5f83cf9bb3 Fix mix test 2014-05-05 19:45:07 +02:00
José Valim a3d85c0bad Rename format_reason to format_exit, make some defs private 2014-05-05 17:35:44 +02:00
James Fish 46b0f7b29e Format exceptions consistently
* Add utility functions to Exception to format exceptions
* Format mfa exits, such as :gen_server.call/3
* Format EXIT reasons
* Fixes IEx to send formatted exception in one IO request
* Fixes IEx to format stacktraces consistently with Exception
* Fixes Mix application start error messages
2014-05-05 02:16:07 +01:00
José Valim 52ebeb1e7d Ensure IEx.pry works with iex -S mix test (--trace) 2014-05-04 13:24:19 +02:00
José Valim 8797280b9e Define an Application module 2014-05-04 12:43:49 +02:00
José Valim e67ada5cfb Ensure --umbrella generates gitignore, closes #2237 2014-05-04 11:27:36 +02:00
Paul Schoenfelder da784ebc1a Update use of deprecated :global option to use :parts 2014-05-03 23:47:37 -05:00
José Valim a67fe46ca5 Do not recompile the whole project when an .eex file changes
Right now, we simply trust the user that any external
dependency will be listed as a @file and use those
to track any external dependency.
2014-05-02 14:01:06 +02:00
José Valim 043f6c74b1 Consider only valid .git repos as checked out 2014-05-02 10:40:09 +02:00
Andreas Amsenius 2b1f561d91 Test git in dep folder to consider checked out
If the .git folder of a dep becomes corrupted, any git command
issued by mix could find a parent .git folder and wipe the parent
tree.

This fix only consider a git dependency checked out if git is able
to read the .git folder.

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2014-05-02 10:17:32 +02:00
José Valim 87cd24651e Add spaces in between | 2014-05-02 08:46:35 +02:00
José Valim 61f28c796a Merge pull request #2229 from MSch/mix-maps
Migrate records in mix to maps.
2014-05-02 08:32:40 +02:00
matt 452a33b085 Fixed typo and improper use of their in documentation 2014-05-01 21:49:21 -04:00
Martin Schürrer 2d3a3b1ca5 Migrate records in mix to maps. 2014-05-02 03:41:30 +02:00
José Valim 917a8ecd99 Only load Hex if we are actually going to use it 2014-05-01 21:02:07 +02:00
José Valim 3b8ac0194b Improve mix help deps 2014-05-01 15:12:20 +02:00
José Valim 910810360d Soft deprecate Mix.project 2014-05-01 12:33:50 +02:00
José Valim 90378ab53f Improve docs for Mix.Project 2014-05-01 12:21:42 +02:00
José Valim b6991100f5 mix deps.clean works accross environments, closes #2210 2014-04-30 20:22:40 +02:00
José Valim d53a6a3491 Ensure string switches are not treated as booleans, closes #2218 2014-04-30 12:48:39 +02:00
James Fish be0564b536 Fix some dialyzer warnings 2014-04-30 00:44:40 +01:00
José Valim 1679f6b4d7 Tidy up ExUnit.Filters docs 2014-04-29 19:42:10 +02:00
José Valim 9caab33613 Move URI and Inspect.Algebra out of Elixir records 2014-04-29 19:40:27 +02:00
José Valim cae8f0933b Merge pull request #2214 from MSch/mix-test-line-numbers
Support line numbers in mix test, e.g. test/some/file_test.exs:12
2014-04-29 19:39:18 +02:00
Martin Schürrer 7f8a52c264 Support line numbers in mix test, e.g. test/some/file_test.exs:12 2014-04-29 18:51:12 +02:00
José Valim dc768eb501 Convert File.Stat to a struct 2014-04-29 17:59:36 +02:00
Lucas Weiblen 09244d3d79 Fix more typos 2014-04-28 18:57:42 -03:00
Lucas Weiblen b6b58ffae2 Fix doc on Mix.Shell.Process 2014-04-28 17:58:54 -03:00
Eric Meadows-Jönsson e343f210f6 Store relative beam paths in manifest 2014-04-28 22:55:04 +02:00
José Valim 199ff77acc Fix mix build failure 2014-04-28 22:07:32 +02:00
José Valim 0117ea15ed Ensure we cover compile modules before we start the app 2014-04-28 21:45:20 +02:00
Eric Meadows-Jönsson 76a1602c5f Fix git checkout when directory already exists 2014-04-28 13:57:47 +02:00
Eric Meadows-Jönsson 9c14d3bd10 Fix error when cleaning single dependency 2014-04-28 13:57:47 +02:00
José Valim 09ea0d8e6f Remove Mix.Dep unloaded in favor of a direct converger call 2014-04-28 08:09:53 +02:00
José Valim 33792e6972 Extract hex functionality to common module 2014-04-28 08:00:13 +02:00
José Valim c91723b444 Remove deprecated code, enable previous soft deprecations 2014-04-27 13:39:32 +02:00
Eric Meadows-Jönsson a1ff5b6440 Don't load dependencies in remote converger
Remote converger returns list of names that filters children returned
from Mix.Dep.Loader.load/1.
2014-04-26 22:12:57 +02:00
José Valim c2c1ebde39 Check for the hex version on CLI start 2014-04-26 15:45:00 +02:00
Eric Meadows-Jönsson 6f509808e5 Merge pull request #2195 from ericmj/remote-converger-children
Allow remote converger to set children of dependency
2014-04-26 00:51:10 +02:00