Tristan Sloughter
7f508c30a1
apply profiles and overrides for an app's opts to the base opts
10 年之前
James Fish
c53dfe0020
Fix handling of ct results
* Return error on failed and/or auto skipped tests
* Print all results for quiet repeated tests
* Sum results of repeated tests
10 年之前
James Fish
c7d0c40703
Add debug statements to dialyzer provider
10 年之前
James Fish
37850ed819
Shorten default PLT name
10 年之前
Tristan Sloughter
1b851267f8
use git or hg configs if exist for default user and email in templates
10 年之前
James Fish
53e43298ba
Fix dialyzer active otp release detection
10 年之前
James Fish
7f60448d33
Change default project PLT location to base directory
Previously dialyzer stored the project PLT in ./build/, which meant the
same PLT was used for all profiles. This could mean partial rebuilding
of a PLT when switching between profiles.
10 年之前
alisdair sullivan
ccfebdd155
switch from loading modules to read compile info to using `beam_lib`
fixes #216 and #220
10 年之前
Tristan Sloughter
4a2996a756
fix for profiles_remain_applied_with_config_present
10 年之前
James Fish
d6d45258d6
Don't include directories when testing subset of ct suites
10 年之前
alisdair sullivan
90bff8f8d4
preserve state when compiling directories with a `rebar.config`
10 年之前
alisdair sullivan
1c56941225
fix issue where apps with a `rebar.config` were preventing
rebar state from propogating appropriately
10 年之前
alisdair sullivan
945eb364ee
include full path in pointer to `ct` output
10 年之前
alisdair sullivan
434c662816
rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively
10 年之前
alisdair sullivan
d72812cb5f
name profile directories in `_build` similarly to the arguments
to `as` used to generate them
10 年之前
alisdair sullivan
993a9efa58
move `_logs` and `_cover` to `_build` dir
10 年之前
James Fish
4ac347c4bf
Do not automatically check plt
10 年之前
Fred Hebert
3ef3a7abec
Fix hg diffing
- fetch more complete refs for tags (may download more history than
required, but it works)
- Fix comparison of tag distance by using lists everywhere
10 年之前
Tristan Sloughter
392108000a
use rebar_utils:sh for git and hg commands to have better errors and logs
10 年之前
Tristan Sloughter
8ce1de1825
use rebar_file_utils:mv instead of copy for fetched source
10 年之前
alisdair sullivan
6c421e5433
change from post-purging modules after checking their module info to
pre-purging before checking to facilitate long do chains
10 年之前
alisdair sullivan
af7ba345fa
erlang r15x (and possibly earlier) don't put the correct path to
source files in the `compile` key of `module_info/1` so `rebar cover`
struggles locating source in some instances. in these cases a warning
is printed and crappy coverage info is written rather than none at all
10 年之前
alisdair sullivan
0e606138c5
print warning if cover can't annotate source and skip file
10 年之前
alisdair sullivan
eb93bb000a
replace use of `float_to_list/2` for r15x
10 年之前
alisdair sullivan
ad8982b931
generate cover data (via the `{cover_enabled, true}` option in
`rebar.config` or via the `-c\--cover` flag given to the appropriate
task) from the `eunit` and `ct` tasks and add a `cover` task to
write coverage analysis to disk
10 年之前
alisdair sullivan
4a61bae7b3
`as` delegates task handling to `do` provider
10 年之前
alisdair sullivan
516a4cef25
exclude beams compiled from source in `test` from the .app file
10 年之前
alisdair sullivan
c7c00bccfd
modify `ct` and `eunit` to work with isolated `ebin` dirs
10 年之前
alisdair sullivan
12726111bc
`add_to_profile/3` function added to `rebar_state`
10 年之前
Tristan Sloughter
80f276e5e5
don't replace non-string list with empty list in profile merge
10 年之前
Tristan Sloughter
af0f4bb20a
include test dir in symlinks
10 年之前
Tristan Sloughter
0a8ee68042
fix compile/3 call in common_test provider
10 年之前
Tristan Sloughter
75f8a772b0
copy all files from ebin to build output ebin if exists
10 年之前
Tristan Sloughter
9fc885073b
use same symlink or copy function for deps links
10 年之前
Tristan Sloughter
440f0d7524
update compile call from common test provider with new outdir
10 年之前
Tristan Sloughter
675044bc83
use relative path on non-windows and copy if link fails
10 年之前
Tristan Sloughter
65204ba0ba
include link to src in outdir for R15 cover/xref
10 年之前
Tristan Sloughter
a238bc24c6
output proper error message for missing app file
10 年之前
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 年之前
Tristan Sloughter
d4c2332aab
make base_dir for a run include the profiles in path, link to shared deps
10 年之前
alisdair sullivan
05c9bf6bbb
reset state between tasks run with `do` so `rebar do foo, bar, baz`
has the same outcome as `rebar3 foo && rebar3 bar && rebar3 baz`
fixes #191
10 年之前
Tristan Sloughter
4eaeca8890
add edoc provider
10 年之前
Fred Hebert
a8ceafbf4c
Port env var expension fix from rebar2
See https://github.com/rebar/rebar/pull/458
10 年之前
Tristan Sloughter
dcd8962afb
remove old info function from install_deps, it is a bare provider
10 年之前
Fred Hebert
e8b2c274e9
Fix crash on non-git source deps in deps provider
The 'element(1, ..)' guard would always fail and cause crashes.
10 年之前
Fred Hebert
6fa030d94c
Support mercurial (hg) dependencies
10 年之前
Tristan Sloughter
235436a410
profiles: combine lists of values for conflicting config options
10 年之前
Fred Hebert
1a132f6c36
We can use 3.0.0 when we're done.
10 年之前
Fred Hebert
6ccef53891
Revert accidental commited debug code
10 年之前
Fred Hebert
c283dd2c69
Add tests and fixes for packages upgrades
- Track level of packages properly, they're not level 0 anymore (this
could yield an issue where a src dep takes precedence over a pkg dep)
- Proper stable sort of vertices in the digraph module
- PkgDeps no longer 'see themselves' when fetching and upgrading after
locking themselves
- Pkg Locks are added to pkg deps rather than source deps
- Updating test cases to support pkg mocking on top of src mocking
10 年之前