Commit Graph
685 Commits
Author SHA1 Message Date
Eric Meadows-Jönsson bec7a0becb Store Mix.Dep records in Mix.Dep.deps 2014-01-22 16:30:07 +01:00
Eric Meadows-Jönsson bcb7cff5f2 Add Version.compare/2 2014-01-22 14:36:41 +01:00
José Valim b326fe12d9 Unify deps.get and deps.update workflows 2014-01-22 10:00:08 +01:00
José Valim 263f0d1c81 Rename Mix.Deps.Retriever to Mix.Deps.Loader 2014-01-22 09:30:45 +01:00
José Valim 47ae5b4758 Move Elixir version mismatch to a warning, closes #1951 2014-01-22 09:28:51 +01:00
Eric Meadows-Jönsson 5d34fcdccd Clear project stack in mix teardown 2014-01-21 12:51:43 +01:00
José Valim dc0dd43406 Simplify diverge/override mechanism in Mix.Deps 2014-01-17 17:47:13 +01:00
José Valim c0af2622af List iex -S mix at the bottom of mix help 2014-01-16 13:20:30 +01:00
José Valim 6b511cc844 Remove @hidden in mix tasks
Instead, we can use the presence or abscence of @shortdoc
to specify if the task should be shown or not.
2014-01-16 12:58:48 +01:00
José Valim 5a2e838def Deprecate <-/2 in favor of send/2 2014-01-14 18:27:41 +01:00
José Valim 42fc70a0eb Deprecate Enum.first/1 in favor of Enum.at/2 and List.first/1
The main reason for this change is because `Enum.first/1` does
not communicate that enumeration will happen, in contrast to
functions like Enum.at/2 and Enum.fetch/2 which are meant to
be used with non-indexed collections and the need for enumeration
is made a bit more obvious.

Closes #1983
2014-01-14 16:26:32 +01:00
José Valim 4870351d2f Deprecate continuable heredocs, closes #1986 2014-01-14 16:03:14 +01:00
José Valim aba387c526 Ensure git scm does not take lock into account when comparing deps, closes #1992 2014-01-14 11:55:23 +01:00
José Valim 407427f627 Take into get_rev_info command may fail when not in a git repository 2014-01-11 10:33:18 +01:00
Eric Meadows-Jönsson ab538670d3 Add :records, :binaries and :char_lists options to inspect/2
Deprecate :raw in favor of :records
2014-01-11 00:25:23 +01:00
José Valim ee3fcdb96a Ensure recursive copy takes into account the proper target directory 2014-01-10 22:48:52 +01:00
Eric Meadows-Jönsson be3ab7d13d Fix test race condition 2014-01-10 02:48:58 +01:00
José Valim cdbd480f4d Path dependencies can only be used with mix projects, closes #1967 2014-01-09 20:56:02 +01:00
José Valim 1e9ab79cad Format lock opts with the lock
This is a simpler solution to the problem outlines on issue #1879
2014-01-06 12:04:09 +01:00
José Valim 27467bdb67 Fix spelling of overridden 2014-01-05 12:28:11 +01:00
José Valim 5e2ea082d1 Deprecate __FILE__ in favor of __DIR__ or __ENV__.file 2014-01-02 18:10:59 +01:00
José Valim f0bfdfaf19 Require arguments to be expanded to simplify relative symlink logic 2014-01-01 14:20:41 +01:00
José Valim 2979430137 Merge pull request #1959 from jni-/mix_rel_symlink
Using relative symlinks, fixes issue #1953
2014-01-01 04:58:58 -08:00
José Valim 08d61e4b25 Merge pull request #1954 from bitwalker/mix
Ensure deps.get updates origin if lock origin and dep origin do not match.
2013-12-31 08:43:55 -08:00
José Valim 9afc1043c9 Move filters functionality to ExUnit.Filters 2013-12-31 17:31:20 +01:00
José Valim 1622eb63b4 Merge pull request #1909 from vanstee/exunit-support-filters
Support ExUnit filters
2013-12-31 08:04:05 -08:00
José Valim 7836493d23 Do not leak clause heads, closes #1948 2013-12-30 23:12:44 +01:00
Jni f306ca5a49 Using relative symlinks, fixes issue #1953 2013-12-25 00:22:39 -05:00
José Valim b39c762557 Rename redundant is_ prefix in internal APIs 2013-12-24 23:06:59 +01:00
Paul Schoenfelder 4176480f39 Combine get_rev and get_origin into one system call 2013-12-23 12:48:41 -06:00
Paul Schoenfelder 620532049c Move test for matching origins to tail of lock_status check 2013-12-22 19:34:03 -06:00
Paul Schoenfelder 67566f155b During update, always set the origin url to the lock url 2013-12-22 19:23:19 -06:00
Paul Schoenfelder d976937486 Flag lock as outdated if origins do not match 2013-12-22 19:21:42 -06:00
vanstee a5602a71fa Update docs to define include and exclude filters 2013-12-17 01:48:41 -05:00
vanstee 68f570c0a5 Fix bug in applying multiple filters 2013-12-17 00:08:42 -05:00
vanstee d4729a3795 Add support for include and exclude flags 2013-12-16 14:48:37 -05:00
vanstee c7da787265 Support separate inclusion and exclusion filters 2013-12-15 21:12:27 -05:00
José Valim a7dae16877 Automatically enforce build path for in_dependency 2013-12-12 14:31:04 +01:00
vanstee 4e29f274c5 Move filter parsing logic to a more testable place 2013-12-02 20:28:25 -05:00
vanstee 9b6f104ffe Clean up mix test options wrangling 2013-12-02 02:30:39 -05:00
vanstee 80118f4561 Parse filters in a more sane way 2013-12-02 02:13:12 -05:00
vanstee 474b05e5c4 Override test helper with command line flags 2013-12-01 23:15:32 -05:00
vanstee 7d1e6b545d Accept and parse filter command line option 2013-12-01 23:15:31 -05:00
José Valim 7dd9da12a7 Promote exception/1 as the best mechanism to customize exceptions
The previous mechanism of lazily customizing message/1 was very
dangerous, as you could have errors while calculating the message
and those would shop up just when the exception is printed, leading
to further breakage.

Closes #1747
2013-11-30 11:59:51 +01:00
José Valim 67109b291d Ensure path dependencies manifests point to the proper path
Closes #1888
2013-11-30 10:02:07 +01:00
José Valim 96077905fb Require :escript_main_module for generating escripts
escripts must be opt-in because developers should not assume
they can simply generate escripts for all projects. This change
is a small one but makes it clear the desire for the project to
be escriptized.

Closes #1845
2013-11-29 22:37:48 +01:00
José Valim 127a634ba2 Ensure we have a project before popping the stack 2013-11-26 20:02:36 +01:00
Vipul A M d330d77c33 Fix some typos 2013-11-24 17:39:39 +05:30
Eric Meadows-Jonsson f60fd6a5d4 Ensure test fixtures are kept clean 2013-11-21 16:46:51 +01:00
José Valim 4b17932bc8 Properly .gitignore automatically generated rebar_dep/ebin 2013-11-21 12:42:46 +01:00