Tristan Sloughter
9184a42ef3
fix typo of guarantee. h/t evan
9 år sedan
Tristan Sloughter
d2cd2710b1
do not sort mib_first_files during merge_opts, order must be kept
9 år sedan
alisdair sullivan
0461729fd9
calculate coverage info as late as possible in ct provider execution
9 år sedan
Heinz N. Gies
42695b42b1
Allow switching based on env variable
9 år sedan
alisdair sullivan
80f5bc6152
add warning about `auto_compile`
9 år sedan
alisdair sullivan
94169fbdf2
reenable support for most command line options and rename `ct_tests` to `ct_opts`
9 år sedan
alisdair sullivan
f73307bb65
support atom suites in `ct_tests`
9 år sedan
alisdair sullivan
19a3a96893
refactor `rebar_prv_common_test`
* remove partial support for ct `test_spec` until it can be done properly
and warn if `test_spec` is present in test opts
* use new compiler functionality to reduce complexity of provider
* reduce command line options available to those that can be
supported properly
9 år sedan
Tristan Sloughter
e5aa04f278
fix #903 : use app discover of entire plugins dir when listing
9 år sedan
alisdair sullivan
d8be03ab6a
fixes for cover under new compiler/eunit/ct
* only try to cover compile directories that actually exist
* recover from failures where source files don't contain required
attributes for cover compilation and print warning
9 år sedan
alisdair sullivan
67bf54d04d
add an option to soft purge rather than purge old code
at the cost of some SASL warnings this prevents rebar3 from terminating
processes when reloading their code before running tests
9 år sedan
Heinz N. Gies
afd2b9b4fb
Fixed error log formating
9 år sedan
Heinz N. Gies
04be3f5963
Make output a bit more discrete
9 år sedan
alisdair sullivan
31cc213b81
prevent rebar3 from reloading it's own path and terminating itself
prevents code reloading by temporary marking of rebar3's ebin dir
as sticky during code refresh
9 år sedan
James Fish
d48f02dbc4
Rebuild PLT when beams no longer exist
9 år sedan
alisdair sullivan
edfa4427a3
dedup `src_dirs` and `extra_src_dirs` on read
9 år sedan
alisdair sullivan
17e26f7265
delay validation of eunit tests until just before running
9 år sedan
alisdair sullivan
3fc51b912c
move test profile bootstrap into core
9 år sedan
Tristan Sloughter
3f7886abe0
only clean project apps once even when doing --all
9 år sedan
alisdair sullivan
dee2392e13
remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit`
9 år sedan
alisdair sullivan
3bf52241bd
restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit`
9 år sedan
alisdair sullivan
d1409d0b3b
refactor `rebar_erlc_compiler`
* modify compiler interface to work on either application objects or
directories containing source files
* compile all sources in `src_dirs` to the application `ebin` dir and
all sources in `extra_src_dirs` to a directory mirroring it's
position in the app's `_build` directory. for example, `apps/foo/more`
would compile to `_build/default/lib/foo/more`
for `extra_src_dirs` in the root of a project with multiple
applications (so orphan directories that don't "belong" to an
application) compile to `_build/default/extras/more`
* copy directories specified in `extra_src_dirs` into the `_build`
directory so tools like `ct` and `xref` that expect source to be
in a particular location still work
* clean compiled artifacts from all `extra_src_dirs`
* alter `eunit`, `ct` and `cover` to work with the new directory
structure
* billions of new tests
9 år sedan
alisdair sullivan
621d8a9485
Revert "add an export to allow specifing arbitrary extra erl files to be compiled"
This reverts commit 9d82215296
.
9 år sedan
Tristan Sloughter
d6ea1e7df4
return more useful error message (failed to download) when pkg http req fails
9 år sedan
Fred Hebert
6637ec4548
Allow non-default checkouts dir for relx
fixes #872
9 år sedan
Byaruhanga Franklin
2e2a37baf6
Added comments to explain the utf8 symbols Binary
9 år sedan
Byaruhanga Franklin
d63d285e8b
removing the /utf8 flag and using the the exact utf-8 value in bytes
removing the /utf8 flag and using the the exact utf-8 value in bytes to make it compatible with compilers <17
9 år sedan
Byaruhanga Franklin
aff273316d
Fix for issue #859 - unicode rendering of deps tree based on PR #865
Fix for issue #859 - unicode rendering of deps tree based on PR #865
modified PR #865 to the /utf8 flag indicates this is supposed to be a UTF8 string.
9 år sedan
Fred Hebert
4ad998b718
Support proper paths in non-erl first files
This passes the directory to the option to ensure it works with more
than configs at the root of the project.
9 år sedan
Tristan Sloughter
15c98a78c2
add ERLANG_ARCH and ERLANG_TARGET to os env for hooks
9 år sedan
Tristan Sloughter
1337de6454
if not in a git repo but have 'git' as vsn, fallback to 0.0.0
9 år sedan
Tristan Sloughter
625f76f4cd
print a warning if a profile in 'as' has no config entry
9 år sedan
Fred Hebert
4177c75a7c
Bump to beta-3
9 år sedan
David Leach
d3e83b7a9e
Add support for disabling ssl verification for hex
Uses global rebar config to see if user wishes to disable ssl verfication.
If {ssl_verify, false} is present certificates will not be verified.
9 år sedan
alisdair sullivan
2b799ba1c7
fix failing cover test
9 år sedan
alisdair sullivan
420d804ea3
shiny and new test suite for eunit provider
9 år sedan
alisdair sullivan
2a1e0dd07e
inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macro
prior to running compile and compile prehooks
9 år sedan
alisdair sullivan
9571605865
Revert "drop `eunit_first_files' and `eunit_compile_opts'. that's what"
This reverts commit dde60d491f
.
9 år sedan
alisdair sullivan
9e9c4212ce
drop `eunit_first_files' and `eunit_compile_opts'. that's what
profiles are for
9 år sedan
alisdair sullivan
391d95d953
add `application' flag and additional tests
9 år sedan
alisdair sullivan
8825e648e5
add `error_on_warning' option to eunit provider
9 år sedan
alisdair sullivan
d080c96156
reworked eunit provider to allow access to full range of eunit tests
9 år sedan
Heinz N. Gies
cf70dbfd67
Add some documentaiton.
9 år sedan
Heinz N. Gies
a08fd03d3f
Fix sub string highlighting for form positions
9 år sedan
Heinz N. Gies
02a7dc4772
Add colour for 'the call comtains' message
9 år sedan
Heinz N. Gies
2ab43014e8
Return legnth of the original warnings no the formated ones
9 år sedan
Heinz N. Gies
3bbebfe730
Fix error messages that were not resetting color
9 år sedan
Heinz N. Gies
c85edcdadb
Group dialyzer warnings by file and concentrate output
9 år sedan
Tristan Sloughter
0839efda57
fix dialyzer warnings
9 år sedan
Tristan Sloughter
90a06efa4f
add test to not upgrade unrelated transitive dep during upgrade
9 år sedan