Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
il y a 9 ans
Fred Hebert
e25ba5d8ea
All dep overrides in packages are blocked
Just rework the error message.
il y a 9 ans
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.
il y a 9 ans
Fred Hebert
59579c0708
Add tests for mixed deps installs
Requires a rework of other test suites using the same dep-handling
mechanism.
il y a 9 ans
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
il y a 9 ans
Tristan Sloughter
d4bca1d6c5
update lock tests to not expect lock for non-default profile run
il y a 9 ans
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
il y a 9 ans
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
il y a 9 ans
Tristan Sloughter
3309fa8dc7
add test for clean --all
il y a 9 ans
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
il y a 9 ans
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
il y a 9 ans
Derek Brown
04fedc7422
Add functions to validate OTP release in use
In the spirit of Original Rebar's "require_min_otp_vsn", this adds
rebar_utils:check_min_otp_version/1 (taking a string containing the
minimum version) and rebar_utils:check_blacklisted_otp_versions/1
(taking a list of regular expression strings), as well as tests in
rebar_utils_SUITE. They're currently only called by the tests-
how/where to best place calls to them from non-test code needs to be
determined (at which point two corresponding rebar.config keys can be
supported). For example, the version probably shouldn't be enforced when
just running "rebar3 help".
il y a 10 ans
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
il y a 9 ans
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
il y a 9 ans
Fred Hebert
81bf52501d
Failing case for unstable upgrade lock files
il y a 10 ans
Tristan Sloughter
b6b32fc64e
ensure necessary directories exist to compile mibs files
il y a 10 ans
CarlosEDP
9e4bf8a3ba
Added version check based on commit 74c68478aa
il y a 10 ans
CarlosEDP
4d2873e311
Refactor tests to init/exec/end. Check OTP version to skip https test on OTP =< 15.
il y a 10 ans
CarlosEDP
d260c05d37
Added testcases for http and https proxy use.
il y a 10 ans
Fred Hebert
cfea721d98
wip: deps install refactor
il y a 10 ans
alisdair sullivan
77a85b4a68
remove `cover_print_enabled` and `cover_data_dir` config options
and replace with `cover_opts`
il y a 10 ans
Tristan Sloughter
1c66f0eb9f
setup hex httpc profile and http opts. needed also for proxy
il y a 10 ans
Tristan Sloughter
7e0734efda
add test of relx config sorting with 'extend release'
il y a 10 ans
Viacheslav V. Kovalev
99858f3b69
Use same random seeding function for random_name and random_vsn
il y a 10 ans
Daniel Widgren
ebfdbc695e
Fixed review comments
il y a 10 ans
Viacheslav V. Kovalev
44272e23b6
Some fixes after review
il y a 10 ans
Viacheslav Kovalev
24815ebc5f
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
il y a 10 ans
Viacheslav V. Kovalev
ab98bc15a8
Fix rebar_utils:sh on windows
il y a 10 ans
Viacheslav Kovalev
4a605faab8
Fix multi_app_default_dirs test on windows.
Seed random with erlang:now() because os:timestamp precision is not enough
on windows.
il y a 10 ans
Daniel Widgren
a029e957fd
Fixed two tests for windows 8.1 and added touch functionality
il y a 10 ans
Daniel Widgren
4eaa21cd27
Fixed so that release tests now pass. Got all green tests.
il y a 10 ans
Viacheslav Kovalev
53831dc31b
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
il y a 10 ans
Viacheslav V. Kovalev
473393a172
Fix rebar_utils:sh on windows
il y a 10 ans
Viacheslav Kovalev
701f66aab2
Fix multi_app_default_dirs test on windows.
Seed random with erlang:now() because os:timestamp precision is not enough
on windows.
il y a 10 ans
Daniel Widgren
e3d32b10cc
Fixed two tests for windows 8.1 and added touch functionality
il y a 10 ans
Fred Hebert
8c8774f3e0
Make the test work on more versions
il y a 10 ans
Fred Hebert
36cc244607
Adding erl_first_files test
The test works by using a parse transform that stamps modules with an
attribute as it runs them. It then compiles everything, loads the
module, and makes sure the stamps respect the defined order.
il y a 10 ans
Fred Hebert
23eb53ebfd
Adding tests for locks
il y a 10 ans
Tristan Sloughter
4bb2a0c710
Add error message for bad provider hook, fixes #521
il y a 10 ans
Tristan Sloughter
f7ff07a87d
plugins provider
il y a 10 ans
Tristan Sloughter
cd8c03e1c4
check format of config file and print the bad section in the error
il y a 10 ans
James Fish
e1f7c8c5f9
Use the same dialyzer rebar.config options as rebar
* All configuration is moved to `{dialyzer, PropList}`
* `dialyzer_warnings` renamed `warnings`
* `dialyzer_plt_warnings` renamed `get_warnings`
* `dialyzer_plt_apps` renamed `plt_extra_apps`
* `dialyzer_plt_dir` renamed `plt_location`
* `{plt_location, local}` uses profile base directory
* `dialyzer_plt` removed
* `dialyzer_plt_prefix` sets prefix of PLT name (default "rebar3")
* `dialyzer_base_plt_apps` renamed `base_plt_apps`
* `dialyzer_base_plt_dir` renamed `base_plt_location`
* `{base_plt_location, global}` uses rebar3's global cache directory
* `dialyzer_base_plt` removed
* `base_plt_prefix` sets prefix of PLT name (default "rebar3")
PLT files are always named `<prefix>_<otp_version>_plt` to match rebar.
`plt_prefix` and `base_plt_prefix` are not available in rebar, where the
prefix is always set to the project's top level application.
il y a 10 ans
Tristan Sloughter
e4c300417b
add artifact test
il y a 10 ans
alisdair sullivan
d2b62ea1f2
allow `src_dirs` and `extra_src_dirs` at the root of the rebar config
il y a 10 ans
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
il y a 10 ans
Fred Hebert
707cddbce7
Fix upgrade of atom-only packages
they would always be left unfound otherwise.
il y a 10 ans
Tristan Sloughter
4ff95cee31
add test for plugin with transitive deps
il y a 10 ans
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
il y a 10 ans
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
il y a 10 ans
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
il y a 10 ans