Commit Graph
254 Commits
Author SHA1 Message Date
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
meh 34e0637520 Fix for Mix.Version comparisons with dev versions 2013-08-18 17:29:32 +02:00
José Valim f4270a0432 Do not touch lock manifest if there is no change 2013-08-15 17:04:32 +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
Eric Meadows-Jonsson 5a620ca319 Remove sleep in recompile test 2013-08-12 22:01:20 +02: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
Tristan O'Neil 74c3ed0cfb Test mix clean with the --all flag. 2013-08-05 17:04:19 -04:00
José Valim 6470a36e68 Ensure watched extensions trigger full recompilation on change 2013-08-04 19:22:15 +02: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
Kevin Liddle 55623c1dcb always remove unmatched beam files when compiling 2013-07-30 11:50:02 +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 1db491eb49 Add mix cmd 2013-07-25 11:32:21 +02:00
José Valim f86c99c91a Add umbrella: true to supported deps options 2013-07-25 11:00:50 +02:00
José Valim fe67ecd2b6 Mix retriever should use the .app set at compile_path 2013-07-24 23:38:00 +02:00
José Valim 36f50af6e0 Give more information on invalid versions 2013-07-23 23:37:37 +02:00
José Valim 214bfbbfdf mix deps.update no longer update all dependencies unless --all is given 2013-07-22 13:22:12 +02:00
José Valim f1e8c05fef Allow coverage tool to be pluggable 2013-07-22 11:08:57 +02:00
José Valim 4aab8656d8 Only clean up manifest for files that were actually removed, closes #1440 2013-07-21 18:01:04 +02:00
Eric Meadows-Jonsson c5ca8f31ea Remove deprecation warn on regex dep requirement 2013-07-20 17:04:03 +02:00
José Valim 7fc787bdcc Improve docs for Mix 2013-07-20 13:01:58 +02:00
José Valim 16d3a84637 Improve ManifestCompiler to track more dependencies 2013-07-19 22:16:31 +02:00
José Valim 94d3f187ad Slight clean up on mix tests
We don't need to test all scenarios because guaranteeing that
a failure in one compiler is enough to abort the others is enough
for an integration test.
2013-07-19 18:52:31 +02:00
José Valim 2ebd1cf5ea Merge pull request #1449 from jwarwick/issue_1441
Possible fix for Issue #1441
2013-07-19 09:35:24 -07:00
José Valim 0c7d12f0da Document mix loadpaths and app.start options 2013-07-19 16:46:53 +02:00
meh e7354614c1 Move the Elixir version requirement check to a better place 2013-07-19 15:57:29 +02:00
John Warwick f8bf2824c8 Updated tests to verify exceptions raised 2013-07-19 08:07:30 -04:00
John Warwick 1c914621a4 Upated test cases to support compilation halting on first failed compiler. Updated existing tests to handle CompileError being thrown on failure.
Updated compile tasks to raise exceptions after compiling all files
2013-07-19 08:06:34 -04:00
meh 233319df89 Make Mix.SystemVersionError message more meaningful 2013-07-19 07:38:47 +02:00
Eric Meadows-Jonsson 6e3a64a1d0 Check path deps to see if we should recompile
'mix compile' will check the manifest files' mtime of all mix path
dependencies - if they are newer then the local .compile.elixir file
we need to recompile.
2013-07-17 11:14:15 +02:00
José Valim 716890be3c Merge pull request #1422 from ericmj/mix-manifest
Add manifests for yecc, leex and erlang compilers
2013-07-16 02:45:17 -07:00
Samuel Tonini d88138a8af Mix.Tasks.Help.run([]) outputs information about current default task 2013-07-15 10:45:47 +02:00
Eric Meadows-Jonsson e820fb27b1 Add manifest files to erlang compiler
Makes sure that the correct generated files are deleted and
cleaned even when the source files are moved or renamed.
2013-07-12 17:04:04 +02:00
Eric Meadows-Jonsson f4b329a796 Add manifest files to yecc and leex compilers
Makes sure that the correct generated files are deleted and cleaned
even when the source files are moved or renamed.
2013-07-12 17:04:04 +02:00
José Valim 5e8f9284d2 Clean up mix tests 2013-07-10 16:57:11 +02:00
John Warwick 776b07f2f0 Fixed typos in Mix.Deps. Updated error strings in test cases 2013-07-09 21:46:03 -04:00
José Valim 241cd1747d Merge pull request #1376 from ericmj/mix-deps-version
Use Mix.Version for dependencies
2013-07-07 12:10:10 -07:00
José Valim a056f0ac40 Projects without a mix.exs can't be recursive
Otherwise, recursive_enabled? always returns true, even
when it should be disabled, affecting the output of tasks.

Closes #1374
2013-07-07 18:04:22 +02:00
José Valim accf7dac82 Change inspect formatting to use spaces in between , 2013-07-06 10:07:54 +02:00
José Valim 10a456823c Do not enable pretty by default 2013-07-05 19:27:55 +02:00
José Valim a26d4cf0cd Merge remote-tracking branch 'brunoro/master' into jv-pretty-printing 2013-07-05 19:27:37 +02:00