summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * add report in the effects_code_generation, as it is the short form for both ↵Gerald Xv2018-09-051-0/+1
| | | | | | | | report_errors and report_warnings
| * Merge pull request #1850 from ferd/helpful-includelib-errorFred Hebert2018-08-031-3/+13
| |\ | | | | | | Friendlier output on include_lib errors
| | * Friendlier output on include_lib errorsFred Hebert2018-08-031-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns output like this: ===> Compiling apps/c/src/c.erl failed apps/c/src/c.erl:3: can't find include lib "parse_trans/include/codegen.hrl" Into: ===> Compiling apps/c/src/c.erl failed apps/c/src/c.erl:3: can't find include lib "parse_trans/include/codegen.hrl"; Make sure parse_trans is in your app file's 'applications' list Which is likely going to help newcomers encountering issues.
| * | fixed typo erl_first_filesShamis Shukoor2018-08-031-1/+1
| |/
* | combine []/Opt case options into one @ get_git_options/0simonxu722018-07-261-2/+1
| |
* | add git clone --reference path supportsimonxu722018-07-261-12/+31
|/
* Merge pull request #1780 from feng19/refresh_pathsFred Hebert2018-07-111-24/+85
|\ | | | | smarter shell code reloading, add env options for refresh_paths & refresh_paths_blacklist
| * remove some refresh_paths's options(no_deps and no_test) & use ↵feng192018-07-111-24/+8
| | | | | | | | beam_lib:md5/1 to get the module's vsn
| * Merge tag '3.6.0' into refresh_pathsfeng192018-06-2111-66/+162
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump to 3.6.0 - Introduce support of add and del operations for overrides - OTP-21 compatibility - Bump cth_readable for OTP-21 compat - upgrade relx to 3.25.0 - upgrade bbmustache to 1.5.0 - run compile provider in default namespace from bare compiling (fixes hooks for mix builds) - Resolve string vs list crashing rebar3 in erl_first_files - Create ERLANG_LIB_*_erl_interface environment variables only if erl_interface exists - Add hooks to the upgrade command - Add --start-clean flag to rebar3 shell - Auto-boot main app in OTP app project templates - Use maps for child spec examples in templates
| * | add option(refresh_paths & refresh_paths_blacklist) for support set ↵feng192018-05-071-24/+101
| | | | | | | | | | | | refresh_paths when recompile
* | | Fix for atoms in erl_first_filesBryan Paxton2018-06-281-1/+20
| | |
* | | Back to git-based versioningFred Hebert2018-06-251-1/+1
| | |
* | | Bump to 3.6.1 -- fixing eperm issuesFred Hebert2018-06-251-1/+1
| | |
* | | otp21 eperm fix for local install/upgrade, no need to set uid/gidTristan Sloughter2018-06-251-7/+1
| | |
* | | Back to git-based versioningFred Hebert2018-06-191-1/+1
| |/ |/|
* | Bump to 3.6.0Fred Hebert2018-06-191-1/+1
| |
* | Finish adding specs for private funs in rebar3.erlBryan Paxton2018-06-111-0/+5
| | | | | | | | | | | | | | | | | | - added type specs for following private functions: - run/1 - set_options/2 - test_state/1 - safe_define_test_macro/1 - test_defined/1
* | run compile provider in default namespace from bareTristan Sloughter2018-06-081-1/+3
| |
* | Abort if erl_first_files is not a list of stringsBryan Paxton2018-06-082-1/+18
| | | | | | | | - resolves #1645
* | fix #1808Gonçalo Tomás2018-06-081-20/+34
| |
* | Merge pull request #1798 from juise/masterFred Hebert2018-06-061-26/+57
|\ \ | | | | | | Introduce support of add and del operations under erl_opts directive
| * | Introduce support of add and del operations under erl_opts directiveAlexander Petrovsky2018-05-311-26/+57
| | |
* | | Merge pull request #1802 from ferd/upgrade-hooksFred Hebert2018-06-061-0/+13
|\ \ \ | | | | | | | | Add hooks to the upgrade command
| * | | Add hooks to the upgrade commandFred Hebert2018-06-051-0/+13
| |/ / | | | | | | | | | As requested in #1733
* | | Add --start-clean flag to rebar3 shellFred Hebert2018-06-051-2/+10
|/ / | | | | | | | | | | | | Allows override of apps specified in other on-disk options. Equivalent to `--apps=""` Fixes #1785
* | Logger OTP-21-rc2 supportFred Hebert2018-05-301-1/+1
| | | | | | | | Also small output fix in rebar3 shell
* | return to git-based versioningFred Hebert2018-05-091-1/+1
| |
* | bump to 3.5.3Fred Hebert2018-05-091-1/+1
| |
* | start at least one async thread in async thread poolGrigory Starinkin2018-05-082-2/+2
| | | | | | | | | | fixes an issue when shell is terminated with an error "Bus error: 10", on attempt to run rebar shell with verbose logging
* | Logger support in cth_readable; compact CT outputFred Hebert2018-05-051-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cth_readable 1.4.0 supports the new logger interface from OTP-21, which likely breaks compatibility with R16 builds. It also includes a new compact interface, displaying output such as: ===> Running Common Test suites... %%% rebar_alias_SUITE: ...... %%% rebar_as_SUITE: ........... %%% rebar_compile_SUITE:................................ ............................ %%% rebar_compile_SUITE ==> test_name: SKIPPED %%% rebar_compile_SUITE ==> {tc_user_skip,"compile:env_compiler_options/0 available"} .. %%% rebar_cover_SUITE: ............. %%% rebar_ct_SUITE: .................................... Allowing to display more tests within less screen space. This mode has been added to the ct_readable option under the name 'compact' (now supporting true | false | compact), and has been made default for rebar3.
* | Return to git-based versioningFred Hebert2018-05-031-1/+1
|/
* Bump to 3.5.2Fred Hebert2018-05-031-1/+1
|
* Back to git-based versioningFred Hebert2018-05-031-1/+1
|
* bump to 3.5.1Fred Hebert2018-05-031-1/+1
|
* Fix handling of loosely formatted OTP_VERSION fileFred Hebert2018-05-031-6/+5
| | | | see https://github.com/erlang/rebar3/issues/1774
* Confirm lack of regressions on new logger in shellFred Hebert2018-05-031-9/+16
|
* Work around OTP-21 deprecation of get_stacktrace()Fred Hebert2018-05-0310-30/+34
| | | | Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783
* Fix symlink/copying logic in compiler for privFred Hebert2018-04-271-1/+10
| | | | | Priv and include dirs need the virtual symlink in order to preserve hook functionality in some edge cases.
* Prevent copying or symlink non-existing src_dirsFred Hebert2018-04-271-1/+4
| | | | | | | | | | This would cause crashes on linux and force people to have a src_dirs config that is strictly matching what is on the file system rather than acting as a specification of those that are valid. To compare, if lib_dirs worked the same, then any repo that did not both have apps/ and lib/ would crash, as the spec mentions both options as valid.
* Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 ↵Fred Hebert2018-04-271-0/+4
|\ | | | | | | into danikp-feature_long_src_paths
| * fix & testDmitry2018-04-231-2/+6
| |
| * ensure Dest exists before copying to itDmitry2018-04-221-2/+2
| |
* | Display warnings when cache dirs are read-onlyFred Hebert2018-04-272-2/+16
| | | | | | | | | | | | | | This should provide more help to users directly and avoid having them go through opening tickets for help. Fixes #1767
* | Clear all dialyzer errorsFred Hebert2018-04-232-1/+2
|/ | | | | - this is done by adding a HiPE dependency - also in this: adding a test for directories, and fixing some indent
* Merge pull request #1762 from ferd/reload-shell-apps-for-cfgFred Hebert2018-04-211-3/+28
|\ | | | | Reload apps running in shell with new config
| * Reload apps running in shell with new configFred Hebert2018-04-201-3/+28
| | | | | | | | | | | | | | This patch makes it so that whenever the rebar3 shell has a new configuration for an application that is already running and would be restarted (without risking the stability of the node or functionality of rebar_agent), we stop and restart the app.
* | Fix local upgrade etag handlingFred Hebert2018-04-211-1/+10
|/ | | | | | Since packages store etags on disk directly, the local install feature can no longer depend on this; we instead port the etag feature back to local providers only.
* Merge pull request #1759 from ferd/fix-erlopts-test-profileFred Hebert2018-04-201-1/+5
|\ | | | | Fix precedence rules of erl_opts for test profile
| * Fix precedence rules of erl_opts for test profileFred Hebert2018-04-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When adding the 'TEST' macro to the test profile, we mistakenly sourced the erl_opts values from the base profile rather than the test profile itself. This means that in cases where the base profile set an option such as 'no_debug_info' and a profile overrode it with 'debug_info', the default options would get injected within the test profile, and broke the precedence rules, yielding incompatible values. This patch fixes things by adding the macro to the values sourced from the test profile itself, fixing the issue.
* | Fix broken windows buildFred Hebert2018-04-201-1/+1
| | | | | | | | Let's bundle this with another PR