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
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
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
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
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
Jni
f306ca5a49
Using relative symlinks, fixes issue #1953
2013-12-25 00:22:39 -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
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
José Valim
9b0617f889
Also symlink include directory
2013-11-15 08:48:24 +01:00
José Valim
fb5c963f17
Ensure symlink_or_copy can override previous symlinks
2013-11-15 08:42:07 +01:00
José Valim
fd57b5de4f
Ensure build per environment in umbrella children do not clash
2013-11-13 00:11:30 +01:00
José Valim
cfdcf685cb
Do not access compile_path for umbrellas
2013-11-12 23:26:47 +01:00
José Valim
1885841df6
Update CHANGELOG
2013-11-12 14:07:56 +01:00
José Valim
80a466af35
Merge pull request #1871 from tonini/mix-iex-task
...
Add mix iex that simply fails and tell users to use iex -S mix
2013-11-12 05:02:26 -08:00
José Valim
49fe9b05a0
Copy dev build if the environments match
2013-11-12 12:56:43 +01:00
José Valim
c8425edb6d
Do not clean whole build on clean, only libs
2013-11-12 11:25:41 +01:00
José Valim
5d48abb9ab
Ensure we can clean deps that no longer exists
2013-11-12 10:55:37 +01:00
José Valim
1403350be0
Prune tasks when build per environment is on
2013-11-12 10:36:37 +01:00
José Valim
df997f836b
Allow builds to be customized per environment
2013-11-12 10:14:25 +01:00
Samuel Tonini
4544ab59cf
Add mix iex that simply fails and tell users to use iex -S mix
2013-11-12 10:09:44 +01:00
José Valim
7614b6c1d0
Rename _build to _build/shared
2013-11-12 09:57:01 +01:00
José Valim
0addc221e0
Improve coverage for builds and rebar integration
2013-11-12 09:50:30 +01:00
José Valim
75e22706fc
Share _build path when running commands from umbrella
2013-11-11 18:47:58 +01:00
José Valim
eac9929328
Move rebar and other deps to _build
2013-11-11 18:14:16 +01:00
José Valim
e1aead5ba3
Ensure archives work with new _build setup
2013-11-11 15:29:18 +01:00
José Valim
13eab25e6d
Rename fetched to loaded and add a manifest_path
2013-11-11 13:40:05 +01:00
José Valim
2854fec36a
Move mix dependencies to _build
2013-11-11 13:19:10 +01:00
José Valim
14a562f260
Compile not ok dependencies on deps.get and deps.update
2013-11-10 21:13:24 +01:00
José Valim
5c55f0fe91
Move mix configs to app environment and split TasksServer
2013-11-10 20:03:13 +01:00
José Valim
a6474aecd4
Extract Mix.ProjectStack from Mix.Server
2013-11-10 19:05:40 +01:00
José Valim
5844e29443
Ensure app key is required when getting the compile_path
2013-11-10 15:33:34 +01:00
José Valim
343d9ef042
Remove :compile_path from config and move it to Mix.Project
2013-11-10 13:02:20 +01:00
José Valim
703c7dfd21
Ensure Mix properly recurs rebar subdirs, closes #1862
2013-11-10 11:38:34 +01:00
José Valim
082af1c417
Reduce the amount of fixture files in mix
2013-11-10 11:37:17 +01:00
Philip Sampaio
f7fd253918
Remove unused variables from mix test file
2013-11-09 01:42:18 -02:00
José Valim
5dab337685
Ensure Mix.Shell.IO do not puke on :eof
2013-11-06 21:24:28 +01:00
Eric Meadows-Jonsson
bf9e190561
Optional deps should be kept for the project that specifies them
2013-11-05 22:11:02 +01:00