summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Rebuild PLT when beams no longer existJames Fish2015-10-311-5/+16
|
* dedup `src_dirs` and `extra_src_dirs` on readalisdair sullivan2015-10-301-3/+3
|
* only clean project apps once even when doing --allTristan Sloughter2015-10-271-8/+8
|
* Merge pull request #883 from talentdeficit/erlc_compiler_refactorTristan Sloughter2015-10-277-229/+430
|\ | | | | compiler refactor/eunit & ct fixes
| * remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit`alisdair sullivan2015-10-261-16/+4
| |
| * restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit`alisdair sullivan2015-10-262-9/+11
| |
| * refactor `rebar_erlc_compiler`alisdair sullivan2015-10-267-209/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests
| * Revert "add an export to allow specifing arbitrary extra erl files to be ↵alisdair sullivan2015-10-261-7/+0
| | | | | | | | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443.
* | return more useful error message (failed to download) when pkg http req failsTristan Sloughter2015-10-261-12/+16
| |
* | Allow non-default checkouts dir for relxFred Hebert2015-10-171-1/+1
| | | | | | | | fixes #872
* | Added comments to explain the utf8 symbols BinaryByaruhanga Franklin2015-10-141-3/+3
| |
* | removing the /utf8 flag and using the the exact utf-8 value in bytesByaruhanga Franklin2015-10-131-3/+3
| | | | | | removing the /utf8 flag and using the the exact utf-8 value in bytes to make it compatible with compilers <17
* | Fix for issue #859 - unicode rendering of deps tree based on PR #865Byaruhanga Franklin2015-10-131-3/+3
|/ | | | Fix for issue #859 - unicode rendering of deps tree based on PR #865 modified PR #865 to the /utf8 flag indicates this is supposed to be a UTF8 string.
* Support proper paths in non-erl first filesFred Hebert2015-10-121-6/+6
| | | | | This passes the directory to the option to ensure it works with more than configs at the root of the project.
* add ERLANG_ARCH and ERLANG_TARGET to os env for hooksTristan Sloughter2015-10-051-1/+4
|
* Merge branch 'no_profile' of https://github.com/tsloughter/rebar3 into ↵Fred Hebert2015-10-051-0/+12
|\ | | | | | | tsloughter-no_profile
| * print a warning if a profile in 'as' has no config entryTristan Sloughter2015-10-031-0/+12
| |
* | if not in a git repo but have 'git' as vsn, fallback to 0.0.0Tristan Sloughter2015-10-041-23/+30
|/
* Bump to beta-3Fred Hebert2015-10-011-1/+1
|
* Merge pull request #828 from project-fifo/nice-dialyzerFred Hebert2015-09-302-107/+128
|\ | | | | Group dialyzer warnings by file and concentrate output
| * Add some documentaiton.Heinz N. Gies2015-09-291-8/+31
| |
| * Fix sub string highlighting for form positionsHeinz N. Gies2015-09-291-7/+4
| |
| * Add colour for 'the call comtains' messageHeinz N. Gies2015-09-291-1/+1
| |
| * Return legnth of the original warnings no the formated onesHeinz N. Gies2015-09-291-1/+1
| |
| * Fix error messages that were not resetting colorHeinz N. Gies2015-09-291-4/+3
| |
| * Group dialyzer warnings by file and concentrate outputHeinz N. Gies2015-09-292-88/+90
| |
* | Merge pull request #847 from zugolosian/disable_ssl_verify_optionTristan Sloughter2015-09-301-0/+18
|\ \ | | | | | | Add support for disabling ssl verification for hex
| * | Add support for disabling ssl verification for hexDavid Leach2015-09-301-0/+18
| | | | | | | | | | | | | | | Uses global rebar config to see if user wishes to disable ssl verfication. If {ssl_verify, false} is present certificates will not be verified.
* | | fix failing cover testalisdair sullivan2015-09-291-6/+27
| | |
* | | shiny and new test suite for eunit provideralisdair sullivan2015-09-291-107/+124
| | |
* | | inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macroalisdair sullivan2015-09-291-11/+36
| | | | | | | | | | | | prior to running compile and compile prehooks
* | | Revert "drop `eunit_first_files' and `eunit_compile_opts'. that's what"alisdair sullivan2015-09-291-2/+23
| | | | | | | | | | | | This reverts commit dde60d491f64e8545c586d07015a466eb8e6e126.
* | | drop `eunit_first_files' and `eunit_compile_opts'. that's whatalisdair sullivan2015-09-291-23/+2
| | | | | | | | | | | | profiles are for
* | | add `application' flag and additional testsalisdair sullivan2015-09-291-8/+9
| | |
* | | add `error_on_warning' option to eunit provideralisdair sullivan2015-09-291-22/+51
| | |
* | | reworked eunit provider to allow access to full range of eunit testsalisdair sullivan2015-09-291-92/+97
| |/ |/|
* | fix dialyzer warningsTristan Sloughter2015-09-274-10/+8
| |
* | Merge pull request #840 from tsloughter/upgrade_childrenFred Hebert2015-09-261-19/+43
|\ \ | | | | | | only upgrade children and transitive children of dep being upgraded
| * | add test to not upgrade unrelated transitive dep during upgradeTristan Sloughter2015-09-261-1/+1
| | |
| * | only upgrade children and transitive children of dep being upgradedTristan Sloughter2015-09-261-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the method of upgrading by unlocking all transitive deps by one that utilizes the parent element of each app to only unlock transitive deps of children of the top level deps being upgraded. Additionally the run function of upgrade_SUITE is modified to only create the mock updates before the upgrade provider is run, instead of before any provider is run, which would cause improper behavior in install_deps.
* | | Shell handles all possible relx app formatsFred Hebert2015-09-261-2/+15
|/ / | | | | | | | | | | | | | | | | The list of applications in the relx config section could contain tuples. The tuple will either contain a version constraint for the app, the start type of the app or both. This fix silently expands `{shell_apps, [Apps]}` to support the same format.
* | Properly warn on missing rebar3 depsFred Hebert2015-09-261-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | The current code could not cope with missing dependencies, as they would prevent the rebar3 app from loading or properly building its config, which prevented the log state from being carried along with default values. This in turn would turn in an escript-level error that obfuscated the true source of failure. This patch bypasses the whole state setup and logging macros and logs an error message manually when a dependency such as crypto or SSL is missing from the Erlang install.
* | Merge pull request #826 from talentdeficit/expose_more_sourcesFred Hebert2015-09-251-0/+7
|\ \ | | | | | | add an export to allow specifing arbitrary extra erl files to be compiled
| * | add an export to allow specifing arbitrary extra erl files to be compiledalisdair sullivan2015-09-211-0/+7
| | | | | | | | | | | | to `rebar_erlc_compiler`
* | | Merge pull request #800 from talentdeficit/extract_path_utilsFred Hebert2015-09-252-2/+56
|\ \ \ | | | | | | | | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests
| * | | function name changes:alisdair sullivan2015-09-142-24/+24
| | | | | | | | | | | | | | | | | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2`
| * | | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' andalisdair sullivan2015-09-132-2/+56
| | | | | | | | | | | | | | | | add tests
* | | | Merge pull request #814 from tsloughter/cmd_seqFred Hebert2015-09-251-0/+1
|\ \ \ \ | | | | | | | | | | add DEBUG statement of the command sequence that'll be run
| * | | | add DEBUG statement of the command sequence that'll be runTristan Sloughter2015-09-191-0/+1
| | | | |
* | | | | handle newly added deps to config even when lock is emptyTristan Sloughter2015-09-241-3/+0
| | | | |