summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is setalisdair sullivan2016-06-112-2/+52
| | | | | | | | | | | | partially addresses #1184
* | | Merge pull request #1227 from ferd/compiler-source-formatFred Hebert2016-06-114-15/+93
|\ \ \ | | | | | | | | Compiler source paths in output are now relative
| * | | Fix alternative path printing, default is relativeFred Hebert2016-06-092-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Rename 'unchanged' option to 'build'Fred Hebert2016-06-061-4/+4
| | | | | | | | | | | | | | | | | | | | This will allow us to eventually change the default type without it looking ridiculous.
| * | | Reinstated testGarrett Smith2016-05-021-0/+1
| | | |
| * | | Option to format compiler sourcesGarrett Smith2016-05-024-11/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #1231 from tsloughter/ct_sys_configFred Hebert2016-06-115-33/+101
|\ \ \ \ | |_|/ / |/| | | add support for passing a sys_config to common test
| * | | add support for passing a sys_config to common testTristan Sloughter2016-06-115-33/+101
|/ / /
* | | Merge pull request #1230 from ferd/support-env-proxy-varsFred Hebert2016-06-111-1/+5
|\ \ \ | | | | | | | | Expand os ENV proxy support to bootstrap script
| * | | Expand os ENV proxy support to bootstrap scriptFred Hebert2016-06-111-1/+5
| | | |
* | | | Merge pull request #1229 from ferd/support-env-proxy-varsFred Hebert2016-06-112-2/+77
|\ \ \ \ | |/ / / | | | | Support ENV config for proxy values
| * | | Support ENV config for proxy valuesFred Hebert2016-06-112-2/+77
|/ / / | | | | | | | | | | | | - The configured stuff in rebar3 takes precedence over the ENV - The env is then chosen
* | | Merge pull request #1080 from project-fifo/crashdumpFred Hebert2016-06-104-3/+19
|\ \ \ | | | | | | | | Write rebar3.crashdump on errors
| * | | Make sure not to dump in api modeHeinz N. Gies2016-04-164-5/+18
| | | |
| * | | Write rebar3.crashdump on errorsHeinz N. Gies2016-04-162-3/+6
| | | |
* | | | Merge pull request #1164 from snaiper80/fix_cover_compile_erroralisdair sullivan2016-06-061-1/+4
|\ \ \ \ | | | | | | | | | | Fix compile error case when cover compilation
| * | | | Fix compile error case when cover compilationLee GiTack2016-04-181-1/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Dependent libs is required for some module when cover compiling. So all dependencies should be available on code path. This fixes #1148 issue.
* | | | Merge pull request #1219 from ferd/umbrella-upgradeFred Hebert2016-06-062-5/+71
|\ \ \ \ | | | | | | | | | | Bugfix for upgrading deps of umbrella apps
| * | | | Rework patch to work without accidentFred Hebert2016-06-061-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Account for umbrella apps' deps in upgradesFred Hebert2016-06-041-1/+7
| | | | |
| * | | | Regression test showing the bug for umbrella appsFred Hebert2016-06-031-4/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #1222 from lucafavatella/patch-1Fred Hebert2016-06-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix minor typo in README
| * | | | | Fix minor typo in READMELuca Favatella2016-06-061-1/+1
|/ / / / /
* | | | | Merge pull request #1220 from gomoripeti/handle_error_crashFred Hebert2016-06-051-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | Handle control sequences in formatted errors
| * | | | Handle control sequences in formatted errorsPéter Gömöri2016-06-061-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) ```
* | | | Merge pull request #1211 from erlang/ignore-raw-deps-specFred Hebert2016-06-032-1/+24
|\ \ \ \ | | | | | | | | | | Don't die when source deps with [raw] are used
| * | | | Don't die when source deps with [raw] are usedFred Hebert2016-05-272-1/+24
| | |_|/ | |/| | | | | | | | | | | | | | This adds support for their format both on the first read and when looking for modifications to dependencies.
* | | | Merge pull request #1213 from stuart-thackray/masterFred Hebert2016-05-271-1/+1
|\ \ \ \ | |/ / / |/| | | Debug log update
| * | | Debug log updateStuart Thackray2016-05-271-1/+1
|/ / /
* | | Merge pull request #1205 from talentdeficit/fix_data_dir_testTristan Sloughter2016-05-241-1/+1
|\ \ \ | | | | | | | | adjust `data_dir_correct` test in ct suite
| * | | adjust `data_dir_correct` test in ct suitealisdair sullivan2016-05-231-1/+1
| | | | | | | | | | | | | | | | don't bother checking the profile in the path to the data dir
* | | | Merge pull request #1201 from tsloughter/pkg-vsnsFred Hebert2016-05-221-6/+6
|\ \ \ \ | | | | | | | | | | filter available package versions individually by buildtools
| * | | | filter available package versions individually by buildtoolsTristan Sloughter2016-05-221-6/+6
| | | | |
* | | | | Merge pull request #1196 from tsloughter/github_releasesTristan Sloughter2016-05-221-15/+12
|\ \ \ \ \ | |/ / / / |/| | | | deploy escript to travis releases instead of s3
| * | | | deploy escript to travis releases instead of s3Tristan Sloughter2016-05-171-15/+12
| | | | |
* | | | | Merge pull request #1197 from zsoci/fixpathcmdFred Hebert2016-05-181-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Fix path command to consider {deps_dir, "deps"} in rebar.config
| * | | | | Fix path command to consider {deps_dir, "deps"} in rebar.configzsoci2016-05-181-4/+4
|/ / / / /
* | | | | Merge pull request #1198 from postHawk/fix-1185Fred Hebert2016-05-181-2/+9
|\ \ \ \ \ | | | | | | | | | | | | #1185 fix windows git working directory
| * | | | | #1185 fix windows git working directoryPost hawk2016-05-181-2/+9
| | | | | | | | | | | | | | | | | | fix issue #1185 git working directory issues due to command line options in Windows
* | | | | | Revert semver commitFred Hebert2016-05-171-1/+1
| | | | | |
* | | | | | Cutting 3.1.1Fred Hebert2016-05-172-2/+2
|/ / / / /
* | | | | Merge pull request #1194 from tsloughter/provider_hook_pathsTristan Sloughter2016-05-161-12/+16
|\ \ \ \ \ | |/ / / / | | | | | don't needlessly update the code path twice if no hooks to run
| * | | | don't needlessly update the code path twice if no hooks to runTristan Sloughter2016-05-161-12/+16
| | | | |
* | | | | Merge pull request #1192 from talentdeficit/no_coverage_for_extra_dirsFred Hebert2016-05-162-21/+6
|\ \ \ \ \ | | |/ / / | |/| | | don't generated coverage for `extra_src_dirs`
| * | | | don't generated coverage for `extra_src_dirs`alisdair sullivan2016-05-152-21/+6
|/ / / / | | | | | | | | | | | | closes #1057 and #1179
* | | | Merge pull request #1189 from tsloughter/otp-19-bootstrapFred Hebert2016-05-131-1/+1
|\ \ \ \ | |/ / / | | | | fix otp-19 bootstrap compiling
| * | | fix otp-19 bootstrap compilingTristan Sloughter2016-05-131-1/+1
| | | |
* | | | Merge pull request #1188 from tsloughter/ec_21Fred Hebert2016-05-132-2/+3
|\ \ \ \ | |/ / / | | | | upgrade erlware_commons for OTP-19 fix
| * | | update erlware_commons erl_opts overridesTristan Sloughter2016-05-131-0/+1
| | | |
| * | | upgrade erlware_commons for OTP-19 fixTristan Sloughter2016-05-132-2/+2
|/ / /