Commit Graph
189 Commits
Author SHA1 Message Date
José Valim 561397da7a Ensure escript_app doesn't break the app 2013-06-22 19:23:03 +02:00
José Valim 3d2438c625 Ensure esriptize does not try to read directories 2013-06-22 19:14:02 +02:00
José Valim cf309ede14 Add docs to Mix.Version and make version always the first arg 2013-06-22 13:43:41 +02:00
José Valim d5a8821ec1 Merge pull request #1292 from devinus/github-git-protocol
Use the significantly faster Git protocol for github: dependencies
2013-06-19 14:47:02 -07:00
Devin Torres aa7400aaad Use the significantly faster Git protocol for github: dependencies
See: http://git-scm.com/book/ch4-1.html#The-Git-Protocol
2013-06-19 16:17:46 -05:00
José Valim c45d0f4f2f No longer support .beam files on mix local 2013-06-19 12:11:56 +02:00
Eduardo Gurgel 07cd772962 Fix rebar config scripts evaluation
Scripts are evaluated using the dependency directory as current directory

Closes #1262
2013-06-16 15:54:54 -03:00
José Valim fdd108fc43 Improve error message matching on local.uninstall with archives 2013-06-16 13:23:13 +02:00
José Valim 48b19ec580 Improve mix test to rely on possible multiple messages 2013-06-16 13:10:59 +02:00
Rafael Mendonça França 7cdc25538e Uniform use of whitespace after commas on codebase
This make easier to read and also follow some standard in the code
2013-06-15 16:52:48 -03:00
José Valim 9365556ea4 Rename packages to archives 2013-06-15 19:33:43 +02:00
José Valim de376663f0 Merge pull request #1223 from jeremyjh/1124-mix-local-arch
add mix package and related tasks
2013-06-15 09:34:55 -07:00
José Valim c0f7a268c7 Avoid usage of defrecordp and move all parsing to Mix.Version.Parser 2013-06-15 18:09:48 +02:00
José Valim 82cc435fd7 Merge pull request #1130 from meh/mix-version
Implement Mix.Version
2013-06-15 08:25:53 -07:00
Jeremy Huffman 38e63451d6 local.uninstall warn on uninstall package task 2013-06-13 21:37:34 -04:00
Jeremy Huffman 5e1366c946 changes from PR discussion
1: ensure_loaded?

3: ebin

2: assume path/ebin to be packaged

6: accept project path & assume ebin

8: include priv in archive

5: local.uninstall handles packages too

7: local.install [] will install a package

7: mix new .gitignore *.ez files
2013-06-13 21:37:34 -04:00
Jeremy Huffman 0470ebf5af implement mix package and related tasks re #1124 2013-06-13 21:37:34 -04:00
José Valim d3d83b17f4 Merge pull request #1199 from alco/1148-match-tilde-op
Reimplement =~ to use Regex.match? or String.contains?
2013-06-13 06:13:32 -07:00
Eric Meadows-Jonsson 6720522707 Improve error message for diverged deps 2013-06-09 16:02:33 +02:00
meh 057691722e Implement Mix.Version, closes #1115 2013-06-09 15:36:24 +02:00
Alexei Sholik 4a1dfccbec Use =~ with strings where it makes sense 2013-06-08 15:58:34 +03:00
José Valim 6e959733dd Merge pull request #1186 from ericmj/mix-umbrella-deps
Add support for direct dependencies of umbrella project
2013-06-05 05:03:04 -07:00
Eric Meadows-Jonsson 9d61e5886c Add support for direct dependencies of umbrella 2013-06-05 13:20:54 +02:00
Jonathan J Hunt dd43e799c8 Added -v --version option to all elixir commands.
Fixes #1178
2013-06-04 23:01:29 -07:00
José Valim 7cd98e149c Speed up escriptize tests 2013-06-02 00:36:02 +09:00
José Valim 036d016053 Rebar dep with no config is given rebar as manager 2013-06-02 00:35:30 +09:00
Eric Meadows-Jonsson 65cc78034d Correctly add load_paths for rebar dependencies
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-06-01 07:41:06 +09:00
José Valim 41b5f4c826 Merge pull request #1122 from ericmj/mix-rebar
Handle rebar dependencies better
2013-05-31 02:14:05 -07:00
Eric Meadows-Jonsson 0b45b61de8 Use the shell to run Mix.Shell.cmd commands 2013-05-31 00:20:52 +02:00
Eric Meadows-Jonsson 406edcb07d Use rebar from project root directory 2013-05-30 15:22:05 +02:00
Eric Meadows-Jonsson f06f15184c Clean up code, add tests, fix bugs found in tests 2013-05-28 19:39:55 +02:00
José Valim d0ca92ad4e Fix a bug where mix deps.get was not retrieving nested dependencies 2013-05-23 21:19:36 +02:00
José Valim 2c98c0999d An Elixir module now translates to Elixir.Module instead of Elixir-Module 2013-05-23 14:36:56 +02:00
José Valim 26640e3940 Start v0.9.0.dev work 2013-05-22 14:56:26 +02:00
José Valim beaa746fcb Support MIX_PATH as alternative load paths, closes #889 2013-05-21 13:16:30 +02:00
Gustavo Dutra 565fc8bffe Only mix compile -q recompiles unnecessarly
mix compile --quick was recompiling previously compiled files even when nothing had changed
2013-05-19 10:24:24 -03:00
Eric Meadows-Jonsson 3e44e98299 Remove unnecessary Mix test output 2013-05-17 01:38:12 +02:00
Eric Meadows-Jonsson 2d870cf528 Clean up mix dependency retrieving and converging
Rename Mix.Deps.Project -> Mix.Deps.Retriever.
Retrieve the entire dependency tree in Retriever and let Converger
only handle converging.
Don't require setting app: false on umbrella deps.
2013-05-16 20:42:37 +02:00
Eric Meadows-Jonsson ba5a9326ed Ignore files in umbrella apps directory
Closes #1071
2013-05-15 23:48:28 +02:00
Eric Meadows-Jonsson 62b6ed1b4c Propagate dependencies in mix tasks
Closes #1036
2013-05-15 16:29:34 +02:00
José Valim 3d9fa35680 Merge pull request #1048 from ericmj/mix-new-umbrella
Add --umbrella option to 'mix new'
2013-05-12 17:03:26 -07:00
José Valim fc30aaf68c Use a manifest to store generated files
This allows us to remove trailing .beam files
when a file is removed and more robust compilation
detection.

Closes #717, closes #954
2013-05-12 17:03:46 -06:00
Eric Meadows-Jonsson 57f1a1c29c Remove :app project setting in umbrella projects 2013-05-12 19:38:48 +02:00
José Valim 16128651dc Make Mix.Project.load_project private in favor of in_project 2013-05-09 23:36:59 -06:00
Eric Meadows-Jonsson dd9ba46641 Add support for umbrella project as dependency
Closes #1031
2013-05-09 17:17:29 +02:00
José Valim 5e2557a3a9 Merge pull request #1024 from ericmj/umbrellacompile2
Run tasks for umbrella projects in correct order
2013-05-07 07:13:04 -07:00
Eric Meadows-Jonsson 3b8b127753 Run tasks for umbrella projects in correct order
Fixes #1018
2013-05-07 16:05:25 +02:00
José Valim a3a136bb81 Ensure directories have the same name as their applications 2013-05-06 12:57:44 -06:00
José Valim cbe82e0912 Add __DIR__, closes #1019 2013-05-06 11:03:37 -06:00
Eric Meadows-Jonsson 3b7cd15fbc Don't use the full stack for umbrella test 2013-05-05 22:08:52 +02:00