alisdair sullivan
420d804ea3
shiny and new test suite for eunit provider
vor 9 Jahren
alisdair sullivan
496986583c
fix test names in `eunit_test_SUITE`
vor 9 Jahren
alisdair sullivan
2a1e0dd07e
inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macro
prior to running compile and compile prehooks
vor 9 Jahren
alisdair sullivan
9571605865
Revert "drop `eunit_first_files' and `eunit_compile_opts'. that's what"
This reverts commit dde60d491f
.
vor 9 Jahren
alisdair sullivan
9e9c4212ce
drop `eunit_first_files' and `eunit_compile_opts'. that's what
profiles are for
vor 9 Jahren
alisdair sullivan
a4e020d1ed
update shell completions for new eunit commands
vor 9 Jahren
alisdair sullivan
391d95d953
add `application' flag and additional tests
vor 9 Jahren
alisdair sullivan
de3651509c
add new eunit opts to `rebar.config.sample'
vor 9 Jahren
alisdair sullivan
8825e648e5
add `error_on_warning' option to eunit provider
vor 9 Jahren
alisdair sullivan
d080c96156
reworked eunit provider to allow access to full range of eunit tests
vor 9 Jahren
Fred Hebert
fe161128c4
Merge pull request #843 from tsloughter/relx_upgrade
upgrade relx. it wasn't creating nodetool
vor 9 Jahren
Tristan Sloughter
812d9940f5
upgrade relx. it wasn't creating nodetool
vor 9 Jahren
Fred Hebert
e5108872ae
Merge pull request #842 from tsloughter/vm_args
make short name the default in vmargs
vor 9 Jahren
Tristan Sloughter
cf78543991
Merge pull request #841 from tsloughter/dialyzer_warnings
fix dialyzer warnings
vor 9 Jahren
Tristan Sloughter
13e6563be4
make short name the default in vmargs
vor 9 Jahren
Tristan Sloughter
0839efda57
fix dialyzer warnings
vor 9 Jahren
Fred Hebert
f80dd6b88a
Merge pull request #840 from tsloughter/upgrade_children
only upgrade children and transitive children of dep being upgraded
vor 9 Jahren
Tristan Sloughter
90a06efa4f
add test to not upgrade unrelated transitive dep during upgrade
vor 9 Jahren
Tristan Sloughter
dfa668f211
only upgrade children and transitive children of dep being upgraded
This commit replaces the method of upgrading by unlocking all transitive
deps by one that utilizes the parent element of each app to only
unlock transitive deps of children of the top level deps being upgraded.
Additionally the run function of upgrade_SUITE is modified to only create
the mock updates before the upgrade provider is run, instead of before
any provider is run, which would cause improper behavior in install_deps.
vor 9 Jahren
Tristan Sloughter
b6afc1d33e
Merge pull request #839 from rebar/fix-shell-load
Shell handles all possible relx app formats
vor 9 Jahren
Fred Hebert
4e30b6f172
Shell handles all possible relx app formats
The list of applications in the relx config section could contain
tuples. The tuple will either contain a version constraint for the app,
the start type of the app or both.
This fix silently expands `{shell_apps, [Apps]}` to support the same
format.
vor 9 Jahren
Tristan Sloughter
7ec6dd725a
Merge pull request #838 from rebar/detect-self-deps-missing
Properly warn on missing rebar3 deps
vor 9 Jahren
Fred Hebert
6a4b5428b3
Properly warn on missing rebar3 deps
The current code could not cope with missing dependencies, as they would
prevent the rebar3 app from loading or properly building its config,
which prevented the log state from being carried along with default
values. This in turn would turn in an escript-level error that
obfuscated the true source of failure.
This patch bypasses the whole state setup and logging macros and logs an
error message manually when a dependency such as crypto or SSL is
missing from the Erlang install.
vor 9 Jahren
Fred Hebert
4d45f27955
Merge pull request #837 from talentdeficit/extract_path_utils
fix canonical path tests on windows
vor 9 Jahren
alisdair sullivan
09cc07e172
fix canonical path tests on windows
vor 9 Jahren
Fred Hebert
d0bcd95813
Merge pull request #826 from talentdeficit/expose_more_sources
add an export to allow specifing arbitrary extra erl files to be compiled
vor 9 Jahren
Fred Hebert
9cd557b6ed
Merge pull request #806 from talentdeficit/ct_data_dir_tests
test for ensuring `data_dir` is set correctly in ct configs
vor 9 Jahren
Fred Hebert
509c7afec6
Merge pull request #800 from talentdeficit/extract_path_utils
extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests
vor 9 Jahren
Fred Hebert
4d76a556e2
Merge pull request #814 from tsloughter/cmd_seq
add DEBUG statement of the command sequence that'll be run
vor 9 Jahren
Tristan Sloughter
c87a6b18c0
Merge pull request #835 from rebar/update-relx
Bump relx to 3.7.0
vor 9 Jahren
Fred Hebert
43636939ef
Bump relx to 3.7.0
vor 9 Jahren
Fred Hebert
0b0c119d3d
Merge pull request #834 from tsloughter/newly_added
handle newly added deps to config even when lock is empty
vor 9 Jahren
Tristan Sloughter
3b0584abd6
handle newly added deps to config even when lock is empty
vor 9 Jahren
Fred Hebert
762e8da4d3
Merge pull request #821 from project-fifo/consult_and_eval-fix
Fix consult_and_eval/2 to behave like consult
vor 9 Jahren
Fred Hebert
9c5d4bfac5
Merge pull request #827 from project-fifo/nice-dialyzer
Write original messages not fancy ones to disk
vor 9 Jahren
Heinz N. Gies
8959ffa151
Write original messages not fancy ones to disk
vor 9 Jahren
Fred Hebert
fa33d65c93
Merge pull request #823 from project-fifo/nice-dialyzer
Colorized dialyzer output
vor 9 Jahren
Heinz N. Gies
ea95e68ab0
Use bold instead of bold white for text
vor 9 Jahren
Tristan Sloughter
86478aa2e6
Merge pull request #825 from fauxsoup/git-versioning-2
Git versioning 2
vor 9 Jahren
Heinz N. Gies
6557820cc7
Remove rebar_colour and replace it with cf
vor 9 Jahren
Heinz N. Gies
a00cc833ad
Fix bad string caused by missing fmt call
vor 9 Jahren
Heinz N. Gies
3c917be234
Split out colour printing code in own module
vor 9 Jahren
Heinz N. Gies
f49ddaaf75
Fix some indentation and add debug on format errors
vor 9 Jahren
Heinz N. Gies
f0812710e3
Enable highlighting in contracts
vor 9 Jahren
Heinz N. Gies
ffe84add67
Fix colors for bad and good args
vor 9 Jahren
Heinz N. Gies
de7b8b84bf
Remove dubplicated call to format_warning
vor 9 Jahren
Heinz N. Gies
c49327c817
Check term cap for color output
vor 9 Jahren
Heinz N. Gies
e6ef19ecb3
Make it easy to switch colors off in cfmt
vor 9 Jahren
Heinz N. Gies
a6f067cb04
Add missing colors to cfmt
vor 9 Jahren
alisdair sullivan
9d82215296
add an export to allow specifing arbitrary extra erl files to be compiled
to `rebar_erlc_compiler`
vor 9 Jahren