Tristan Sloughter
ddc64cd66b
Merge pull request #988 from ferd/schutm-wrong-paths
Fix wrong relative path resolution
9 years ago
Tristan Sloughter
362d5c81e7
Merge pull request #986 from ferd/fix-bad-tpl-index-handling
A bad template index does not crash; shows warning
9 years ago
Fred Hebert
9e01db6852
Add tests for base_dir reconfiguration
Tests both absolutes and relative paths.
9 years ago
Fred Hebert
bc98358643
Merge branch 'master' of https://github.com/schutm/rebar3 into schutm-wrong-paths
9 years ago
Fred Hebert
c66bce829c
Merge pull request #983 from priestjim/feature/cover_totals
Add support for total code coverage
9 years ago
Fred Hebert
d201d7f4a6
A bad template index does not crash; shows warning
This should fix #955
The test is implicit as a bad index previously silently crashed rebar3.
By adding the bad index to the `new` suite's files, we can show that
things keep running.
9 years ago
Panagiotis PJ Papadomitsos
ae9c1fa0f8
Account for division by zero
9 years ago
Panagiotis PJ Papadomitsos
8c055a7d96
Add support for total code coverage
9 years ago
schutm
d0180cc94d
Fix wrong relative path resolution
9 years ago
Fred Hebert
21ae3145df
Merge pull request #967 from talentdeficit/mib_include_fix
symlink mib hrl output in apps `include' directories
9 years ago
alisdair sullivan
6f70b7fc88
remove mib header file in `priv/mibs/include'
9 years ago
Fred Hebert
540a5c354a
Merge pull request #970 from tsloughter/certifi_0.3.0
upgrade certifi to latest release
9 years ago
Tristan Sloughter
b6d70568d8
upgrade certifi to latest release
9 years ago
alisdair sullivan
d9ae98e4d8
symlink mib hrl output in apps `include' directories
this restores compatibility with rebar2 and erlang.mk
9 years ago
Tristan Sloughter
b1da2ec067
Merge pull request #965 from ferd/tsloughter-tup_umerge
fix tupple merging for realsies.
9 years ago
Fred Hebert
769e14c542
Actually fix tuple merging.
Full rewrite, code should be understandable now.
9 years ago
Fred Hebert
bc7ba735eb
Merge branch 'tup_umerge' of https://github.com/tsloughter/rebar3 into tsloughter-tup_umerge
9 years ago
Tristan Sloughter
d76b25e62d
Merge pull request #963 from ferd/tup_merge-tests
Tup merge tests
9 years ago
Tristan Sloughter
540f2ebb0f
add tests for setting per-profile sys_config variables for relx
9 years ago
Fred Hebert
f0876ae8c7
Fix tuple umerging
- proper segregation of comparison between tuple terms and non-tuple
terms. Guards weren't specific enough and that meant the wrong clauses
of guards would be triggered
- proper deduplication of entries in the list. An additional N passes
are required (we co-opt the reverse step to be more efficient) because
while the original lists:umerge easily removes dupes, this is
requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a
possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison
of direct neighbours isn't enough.
9 years ago
Fred Hebert
5b7bf677f8
Add test cases for tuple deduplication
(the tests fail)
9 years ago
Fred Hebert
46181c8bf5
Merge pull request #948 from toland/fix_mib_compiler
Fix a small bug in the MIB compiler when building dependencies
9 years ago
Phil Toland
afbf729532
Added tests and fixed a bug
9 years ago
Tristan Sloughter
2de7ce25e4
Merge pull request #935 from tokenrove/fix-eunit-verbose
Default to no eunit formatter if verbose specified
9 years ago
Julian Squires
6140ef6e67
Default to no eunit formatter if verbose specified
The previous default meant that verbose output would not be emitted.
9 years ago
Fred Hebert
4b9a0835af
Merge pull request #949 from tsloughter/eunit_config
fetch eunit_formatters config not from the command args but from the config
9 years ago
Tristan Sloughter
4935b8dc99
fetch eunit_formatters config not from the command args but from the config
9 years ago
Phil Toland
be09be6d6b
Fix a small bug in the MIB compiler when building dependencies
When compiling a dependency with a MIB file the generated hrl file is left in
the root project directory in a file called "include". This has the perverse
effect of messing up the search path for include files causing any dependencies
with files in their "include" directory to fail to build after that.
9 years ago
Fred Hebert
a025066940
Merge pull request #945 from tsloughter/auto_update
auto-update the registry if a pkg isn't found, fail if it still isn't found
9 years ago
Tristan Sloughter
2242daaec9
auto-update the registry if a pkg isn't found, fail if it still isn't found
9 years ago
Fred Hebert
35ea867495
Merge pull request #943 from tsloughter/s3_compat
remove backward_compat entry from travis s3
9 years ago
Tristan Sloughter
fd7a6c4fed
remove backward_compat entry from travis s3
9 years ago
Fred Hebert
901620fb60
Merge pull request #942 from tsloughter/relx_profiles
special handling of relx configs in profiles
9 years ago
Tristan Sloughter
996da460b0
special handling of relx configs in profiles
Relx config need new values at the end of the list and
profile additions prepended. So now in apply_profile in
the case it is a relx config we prepend the config list.
This does, however, mean that a profile release can not
'extend' a release defined in the default profile since
the one being extended would have its definition after
the profile release and thus relx would not be able to
use its values for extending.
9 years ago
Fred Hebert
be1853531e
Merge pull request #941 from tsloughter/cp_r_p
preserve attributes when copying files in rebar_utils:cp_r for unix
9 years ago
Tristan Sloughter
f4a318f8f5
preserve attributes when copying files in rebar_utils:cp_r for unix
9 years ago
Fred Hebert
c3af4ef89b
Merge pull request #934 from tsloughter/dedup_providers
don't add a provider if the same namespace and name already exists
9 years ago
Tristan Sloughter
d67ea4a511
just delete erlware_commons rebar.config.script, it isn't needed for rebar3
9 years ago
Tristan Sloughter
740d8a3c74
if a provider of the same namespace and name already exists, skip adding new provider
9 years ago
Tristan Sloughter
d2628b6940
Merge pull request #930 from ferd/handle-new-flag
Handle force flags in leading position
9 years ago
Fred Hebert
bf347caa55
Handle force flags in leading position
The checking of flags and the parsing of arguments is separated up.
9 years ago
Tristan Sloughter
73c3c5552a
Merge pull request #928 from ferd/bump-cth_readable
Ct output improvements
9 years ago
Fred Hebert
69254eac40
Ct output improvements
- eunit assert look better
- lager logs to the html logs
9 years ago
Fred Hebert
8fe010a887
Merge pull request #927 from tsloughter/eunit_18_2
upgrade eunit_formatters to 0.3.1 for OTP18 bug fix
9 years ago
Tristan Sloughter
035af1ac60
upgrade eunit_formatters to 0.3.1 for OTP18 bug fix
9 years ago
Fred Hebert
b11c496914
Merge pull request #924 from tsloughter/pgks_fix
only add package list of versions to registry if it has the right build tool support
9 years ago
Fred Hebert
2ad29faaf9
Merge pull request #925 from tsloughter/eunit_18
upgrade eunit_formatters for OTP 18 support
9 years ago
Tristan Sloughter
be0c6a5a2d
upgrade eunit_formatters for OTP 18 support
9 years ago
Tristan Sloughter
d4e8765007
only add package list of versions to registry if it has the right buildtool support
9 years ago
Fred Hebert
160da470dd
Merge pull request #922 from talentdeficit/warn_on_bad_test_opts
warn on incorrectly specified test options in `rebar.config`
9 years ago