| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Setting DEBUG/QUIET environment variable to the empty string now acts
the same as unsetting it. Unsetting is not always easy/possible.
|
|\
| |
| | |
ignore return value of `rebar_utils:reread_config` in shell provider
|
|/ |
|
|\
| |
| | |
normalize include dirs to absolute paths during compilation
|
|/
|
|
|
|
|
|
| |
changed include files were not properly picked up by `erlc_compiler`
in cases where they were in directories relative to the application
source and not the current working dir of rebar3
fixes #1199
|
|\
| |
| | |
REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is set
|
| | |
|
| |
| |
| |
| | |
partially addresses #1184
|
|\ \
| | |
| | | |
Compiler source paths in output are now relative
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This required moving the reporting functions to rebar_base_compiler but
since this was already done for error_tuple, this seems to make sense.
Paths are also reformatted for warnings in erlc files.
|
| | |
| | |
| | |
| | |
| | | |
This will allow us to eventually change the default type without it
looking ridiculous.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default rebar3 displays compiler sources as absolute paths in their
original location, which is under the build dir.
This change introduces an option 'compiler_source_format' to format
sources in two alternative ways:
relative
absolute
When either 'relative' or 'absolute' are specified, the file is
resolved to its original location when it is a link. When 'relative'
is specified, the path is displayed relative to the current working
directory. When 'absolute' is specified, the path is absolute.
The default value is 'unchaged' which leaves the compiler source
unchanged.
This is arguably too flexible as I suspect most people would opt for
'relative' all the time - it's the most compact representation of the
file and is sufficient to find the source given cwd. The change
however is meant to introduce the change gradually, preserving
existing behavior and giving users a choice for formats.
In time perhaps the default can be changed to 'relative' - but still
allowing users to revert to the other two options ('absolutel' and
'unchanged') as needed.
|
|\ \ \
| |_|/
|/| | |
add support for passing a sys_config to common test
|
|/ / |
|
|\ \
| | |
| | | |
Expand os ENV proxy support to bootstrap script
|
| | | |
|
|\ \ \
| |/ /
| | | |
Support ENV config for proxy values
|
|/ /
| |
| |
| |
| | |
- The configured stuff in rebar3 takes precedence over the ENV
- The env is then chosen
|
|\ \
| | |
| | | |
Write rebar3.crashdump on errors
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix compile error case when cover compilation
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Dependent libs is required for some module when cover compiling.
So all dependencies should be available on code path.
This fixes #1148 issue.
|
|\ \ \
| | | |
| | | | |
Bugfix for upgrading deps of umbrella apps
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous iteration of the patch worked somewhat by accident. After
digging in and figuring out why the two dep sources are the way they
are, the patch is now properly working with a well-documented
explanatiion inline.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the operation for an unlock takes place in the config of a umbrella
application, the `unlock' provider does not see the dependency in the
`deps' value of the config (since it only includes the deps at the root
of the project) and ignores these.
|
|\ \ \ \
| | | | |
| | | | | |
Fix minor typo in README
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Handle control sequences in formatted errors
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Formatted errors can accidentally contain substrings which are control
sequences for io:format/2. This is a naive attempt to handle such cases.
One example is running xref on the following module
(assuming module m does not exist)
```
-module(handle_error).
-export([f/0]).
f() -> m:'bobby~stables'().
```
```
$ rebar3 xref
===> Verifying dependencies...
===> Compiling myapp
===> Running cross reference analysis...
escript: exception error: bad argument
in function io:format/3
called as io:format(<0.23.0>,
"\e[0;31m===> \e[1mWarning: handle_error:f/0 is unused export (Xref)\nWarning: handle_error:f/0 calls undefined function m:bobby~stables/0 (Xref)\n\n\e[0m\e[0m",
[])
in call from rebar3:handle_error/1 (/Users/gomoripeti/git/rebar3/_build/default/lib/rebar/src/rebar3.erl, line 279)
```
|
|\ \ \
| | | |
| | | | |
Don't die when source deps with [raw] are used
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds support for their format both on the first read and when
looking for modifications to dependencies.
|
|\ \ \ \
| |/ / /
|/| | | |
Debug log update
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
adjust `data_dir_correct` test in ct suite
|
| | | |
| | | |
| | | |
| | | | |
don't bother checking the profile in the path to the data dir
|
|\ \ \ \
| | | | |
| | | | | |
filter available package versions individually by buildtools
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
deploy escript to travis releases instead of s3
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix path command to consider {deps_dir, "deps"} in rebar.config
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
#1185 fix windows git working directory
|
| | | | | |
| | | | | |
| | | | | | |
fix issue #1185 git working directory issues due to command line options in Windows
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
| | | | | |
don't needlessly update the code path twice if no hooks to run
|
| | | | | |
|