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 년 전
Fred Hebert
3c4ba63187
Tests for warnings
9 년 전
alisdair sullivan
420d804ea3
shiny and new test suite for eunit provider
9 년 전
alisdair sullivan
496986583c
fix test names in `eunit_test_SUITE`
9 년 전
alisdair sullivan
2a1e0dd07e
inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macro
prior to running compile and compile prehooks
9 년 전
alisdair sullivan
391d95d953
add `application' flag and additional tests
9 년 전
alisdair sullivan
8825e648e5
add `error_on_warning' option to eunit provider
9 년 전
alisdair sullivan
d080c96156
reworked eunit provider to allow access to full range of eunit tests
9 년 전
Tristan Sloughter
90a06efa4f
add test to not upgrade unrelated transitive dep during upgrade
9 년 전
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.
9 년 전
alisdair sullivan
09cc07e172
fix canonical path tests on windows
9 년 전
Tristan Sloughter
3b0584abd6
handle newly added deps to config even when lock is empty
9 년 전
alisdair sullivan
9d82215296
add an export to allow specifing arbitrary extra erl files to be compiled
to `rebar_erlc_compiler`
9 년 전
alisdair sullivan
ae275c6396
function name changes:
`reduce_path/1` -> `canonical_path/1`
`relative_path/2` -> `path_from_ancestor/2`
9 년 전
alisdair sullivan
ef2b2e2668
add comment for `data_dir' test in `rebar_ct_SUITE'
9 년 전
alisdair sullivan
359efed75d
test for ensuring `data_dir` is set correctly in ct configs
this test almost certainly only fails under very limited circumstances
limiting it's utility. it is known to fail with some versions of rebar3
when this test is run via `rebar3 ct --cover`
9 년 전
alisdair sullivan
6a89485448
extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and
add tests
9 년 전
Takeru Ohta
db2a53b3d9
Fix for R15B03
9 년 전
Takeru Ohta
f5d413e90f
Change option name from "plt_include_all_deps" to "plt_apps"
9 년 전
Takeru Ohta
902dd59d23
Add a testcase for 'plt_include_all_deps' dialyzer option
9 년 전
Takeru Ohta
4ff78b4d77
Add rebar_localfs_resource module for testing purposes
9 년 전
Tristan Sloughter
586a1a487c
add test for 'rebar3 plugins list' to ensure it can run
9 년 전
Tristan Sloughter
cfd4beb99d
hooks/artifacts are always run/resolved from an app unless at top of umbrella
9 년 전
Fred Hebert
c57177fde8
Revert "Revert "only load packages when needed""
9 년 전
Fred Hebert
3f83b3a382
Revert "only load packages when needed"
9 년 전
Tristan Sloughter
8732b7d5bd
only load packages when needed
9 년 전
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
9 년 전
Tristan Sloughter
98752aab93
wip: move state into app_info
9 년 전
Fred Hebert
a27fd22c3f
Basic package aliasing tests
9 년 전
Tristan Sloughter
d67a5bce52
fix pkgs provider output for new package index format
9 년 전
Tristan Sloughter
f2f63013fe
override 'deps' now automatically overrides '{deps,default}'
9 년 전
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
9 년 전
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
9 년 전
Tristan Sloughter
86e4c5d5ef
do not override user cli supplied outputdir for relx
9 년 전
Tristan Sloughter
e853e12d7c
add back removed tests
9 년 전
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
9 년 전
Tristan Sloughter
31a24ad4ff
this patch treats pkg and src deps as equals, so level decides winner
Instead fetching and resolving src deps (which could depend on pkg deps)
and then pkg deps this patch combines the two into a single set of
iterations by level. The only difference between src and pkg deps in this
new install_deps is how their deps list is found -- from the config or
lock file for src deps and from the neighbors of the vertex for pkg.
9 년 전
pvmart
293dfb79d6
speed up tests a bit by setting global_rebar_dir
9 년 전
pvmart
c2d9aec502
update ct to play nice with previous commit
9 년 전
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
9 년 전
Fred Hebert
e25ba5d8ea
All dep overrides in packages are blocked
Just rework the error message.
9 년 전
Fred Hebert
e880e16063
Review rule about dep priorities
On a single app's dep list, the first noted wins if there's a duplicate
between packages and sources, rather than favoring source there anyway.
9 년 전
Fred Hebert
59579c0708
Add tests for mixed deps installs
Requires a rework of other test suites using the same dep-handling
mechanism.
9 년 전
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
9 년 전
Tristan Sloughter
d4bca1d6c5
update lock tests to not expect lock for non-default profile run
9 년 전
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
9 년 전
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
10 년 전
Tristan Sloughter
3309fa8dc7
add test for clean --all
10 년 전
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
10 년 전
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
10 년 전