summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Ignore IntelliJ fileaha-oretama2017-07-031-0/+1
| | | | |
* | | | | Merge pull request #1597 from ↵Fred Hebert2017-08-051-4/+13
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | g-andrade/fix/avoid_crashing_xref_upon_stripped_modules Avoid xref crash upon undefined functions in modules without debug_info
| * | | | Don't crash when determining the source of undefined functions in stripped ↵Guilherme Andrade2017-08-051-4/+13
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules This can be reproduced by running xref analysis against a rebar3 plugin project which doesn't list rebar3 as an explicit dependency -- calls to certain bundled modules ('rebar_state', 'rebar_api', 'ec_cnv', ...) will result in a failed pattern match as these modules appear to have had their abstract code stripped.
* | | | Merge pull request #1591 from MikhailKalashnikov/fix-xref-cleanup-code-pathFred Hebert2017-07-261-1/+2
|\ \ \ \ | | | | | | | | | | Fix cleanup_code_path for xref compile hook
| * | | | Fix cleanup_code_path for xref compile hookMikhail Kalashnikov2017-07-261-1/+2
|/ / / /
* | | | Merge pull request #1590 from VHTx/edoc_config_error_#149002995Fred Hebert2017-07-171-1/+1
|\ \ \ \ | | | | | | | | | | Edoc config error
| * | | | [#149002995] fix flipped variablesSam Sawan2017-07-171-5/+6
| | | | |
| * | | | [#149002995] stop eating edoc path configSam Sawan2017-07-171-6/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | be a little smarter when generating edocs; loof for some sort of doc path and then replace w/e was there with the updated doc paths
* | | | Back to git-based versioningFred Hebert2017-07-141-1/+1
| | | |
* | | | Bump to 3.4.2Fred Hebert2017-07-142-2/+2
| | | |
* | | | Merge pull request #1588 from tsloughter/relx-3.23.1Fred Hebert2017-07-142-3/+3
|\ \ \ \ | | | | | | | | | | upgrade relx
| * | | | upgrade relxTristan Sloughter2017-07-142-3/+3
|/ / / /
* | | | Merge pull request #1587 from tsloughter/ct-compile-onlyTristan Sloughter2017-07-142-4/+32
|\ \ \ \ | | | | | | | | | | add compile_only option to ct provider
| * | | | add ct compile_only test, checks for compiled appTristan Sloughter2017-07-141-2/+20
| | | | |
| * | | | add compile_only option to ct providerTristan Sloughter2017-07-131-2/+12
|/ / / /
* | | | Merge pull request #1584 from tsloughter/erl_opts_recompileFred Hebert2017-07-131-2/+17
|\ \ \ \ | | | | | | | | | | recompile only if new option effects code generation
| * | | | recompile only if new option effects code generationTristan Sloughter2017-07-131-2/+17
| | | | |
* | | | | Merge pull request #1585 from erlang/nowarn_export_allFred Hebert2017-07-131-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | drop warnings for `export_all` in test profile
| * | | | drop warnings for `export_all` in test profilealisdair sullivan2017-07-131-1/+1
|/ / / /
* | | | Merge pull request #1583 from erlang/update_meckFred Hebert2017-07-131-1/+1
|\ \ \ \ | |/ / / |/| | | update meck for otp20
| * | | update meck for otp20alisdair sullivan2017-07-121-1/+1
|/ / /
* | | Merge pull request #1575 from gleber/bare-paths-separatorFred Hebert2017-06-201-3/+5
|\ \ \ | | | | | | | | Bare compiler: support multiple paths wildcards.
| * | | Bare compile: support multiple paths wildcards.Gleb Peregud2017-06-201-3/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Similarly to PATH env variable, this allows to pass paths to bare compiler which do not fit nicely into a single wildcard structure. Colon (":") is used as separator. This provides more flexibility when rebar is run in offline/hermetic environment, e.g. #958 and #1281.
* | | Merge pull request #1574 from djnym/shell-fix-for-rel-type-noneFred Hebert2017-06-151-1/+4
|\ \ \ | | | | | | | | Rebar3 shell supports booting applications with type 'none'
| * | | Application type of none was not working.Anthony Molinaro2017-06-151-1/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I noticed this when trying to include entop in a release. Entop uses cecho which takes over the terminal, so you do not want it loaded or started. According to http://erlang.org/doc/man/rel.html, when you specify a Type of none it should not load or start, but the code for it's modules should be loaded. This patch ensures the code is not loaded or started, but doesn't do anything with the code paths. At the very least this allows me to start a shell in the case where I have an application of type none, and the application is neither loaded nor started.
* | | Merge pull request #1572 from ferd/fix-xref-undef-behaviourFred Hebert2017-06-133-4/+54
|\ \ \ | | | | | | | | Prevent xref crashes with undef behaviours
| * | | Prevent xref crashes with undef behavioursFred Hebert2017-06-133-4/+54
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | When a given behaviour module does not exist, rebar3 brutally crashes. This patch makes it so instead, there is a warning output menitoning the missing behaviour, and this one is omitted from the unused function calls check. This means that unused calls will instead be shown for the module implementing a non-existing behaviour, as if no behaviour were declared in the first place.
* | | Merge pull request #1571 from getong/add_path_should_be_headFred Hebert2017-06-131-1/+1
|\ \ \ | |/ / |/| | the new added PATH value should be in the first position, in case the…
| * | the new added PATH value should be in the first position, in case there be ↵getong2017-06-131-1/+1
|/ / | | | | | | other same name cmd
* | Merge pull request #1569 from ferd/fix-xref-circular-dep-crashFred Hebert2017-06-089-4/+187
|\ \ | | | | | | Fix xref compile hook on deps
| * | Fix xref compile hook on depsFred Hebert2017-06-079-4/+187
|/ / | | | | | | | | | | | | | | | | | | | | If xref analysis is being run by a dependency during its compilation phase, the xref provider will try to add that deps' parents to the check job while the ebin/ directories for them do not exist. This causes a crash. This patch makes it so directories are only added if they are existing, preventing failure on any compile hook for dependencies and allowing successful compilation as a best effort.
* | Merge pull request #1564 from tsloughter/reset_profile_hooksTristan Sloughter2017-06-022-11/+40
|\ \ | | | | | | reset hooks under profiles for application opts
| * | reset hooks under profiles for application optsTristan Sloughter2017-06-022-11/+40
| | |
* | | Merge pull request #1563 from djnym/relx-overlay-fixFred Hebert2017-06-012-1/+30
|\ \ \ | |/ / |/| | Avoid reversing relx overlays.
| * | Avoid reversing relx overlays.Anthony Molinaro2017-06-012-1/+30
|/ / | | | | | | | | This mostly moves a lists:reverse/1 which ensures that profile overlays are run first but keeps the order of overlays otherwise.
* | Back to git-based versioningFred Hebert2017-05-241-1/+1
| |
* | Bump to 3.4.1Fred Hebert2017-05-242-2/+2
| | | | | | | | | | | | Includes Relx fixes Signed-off-by: Fred Hebert <mononcqc@ferd.ca>
* | Merge pull request #1558 from tsloughter/masterFred Hebert2017-05-242-3/+3
|\ \ | | | | | | upgrade relx to 3.23.0
| * | upgrade relx to 3.23.0Tristan Sloughter2017-05-242-3/+3
|/ /
* | Back to git-based versioningFred Hebert2017-05-221-1/+1
| |
* | Bump to 3.4.0Fred Hebert2017-05-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches: - Try to start epmd when distribution fails - Allow non-default profile deps upgrade - Switch default license in templates to Apache 2.0, and hook it up in the .app file - Fix git SHA comparisons for dep update - Let relx know about rebar-specified erl_opts - Use rm_rf instead of ec_file:delete, fixing some deps-related issues on Windows - Handle internal CT failures - Fix profile merging of erl_first_files options - Fix CT output in skipped test cases and failing end of function hooks - Officially drop R15 support, since its SSL libs can no longer talk to hex.pm - REBAR_COLOR supports all ec_cmd_log intensity options, allowing the none value to disable all colors without dropping termcap support - Bump relx to 3.22.4 The one new feature supported here is for the interactive shell: - Support commands in the shell such as r3:Command(), r3:Command("--args=as a string"), or r3:Command(Namespace, "--args=as a string"), instead of just r3:do(Command).
* | Merge pull request #1555 from ferd/autostart-epmdFred Hebert2017-05-211-6/+19
|\ \ | | | | | | Try to start epmd when distribution fails
| * | Try to start epmd when distribution failsFred Hebert2017-05-211-6/+19
|/ / | | | | | | | | We do it by calling os:cmd on a named shell so that the automated daemon rules work for rebar3 as well.
* | Merge pull request #1540 from ferd/allow-profile-deps-upgradeFred Hebert2017-05-192-9/+130
|\ \ | | | | | | Allow profile deps upgrade
| * | Cull default dep names in non-default upgradeFred Hebert2017-05-192-12/+54
| | | | | | | | | | | | | | | | | | Prevents showing false upgrade messages when upgrading in a non-default profile. Also shows an info message explaining default deps don't get updated in a non-default upgrade.
| * | Add test for upgrade of profile depsFred Hebert2017-05-071-2/+67
| | |
| * | Allow to upgrade profile-specific dependenciesFred Hebert2017-05-071-7/+21
| | | | | | | | | | | | | | | | | | Only happens when calling `rebar3 as <profiles> upgrade <dep>`, with the caveat that all profile deps get upgraded and lined up with the rebar config.
* | | Merge pull request #1548 from ferd/tpl-license-matches-defaultTristan Sloughter2017-05-193-31/+193
|\ \ \ | | | | | | | | Match template license app to default license, switch default to Apache 2.0
| * | | Switch default license to Apache 2.0Fred Hebert2017-05-193-31/+193
| | | |
| * | | Match template license app to default licenseFred Hebert2017-05-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default license created with rebar3 templates is a BSD 3 clause license. However the .app.src file generated do not include the license there. This adds the license type, fixing #1447.