alisdair sullivan
9d41b75638
add `cover` task to README
10 anni fa
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 anni fa
alisdair sullivan
0e606138c5
print warning if cover can't annotate source and skip file
10 anni fa
alisdair sullivan
eb93bb000a
replace use of `float_to_list/2` for r15x
10 anni fa
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 anni fa
alisdair sullivan
516a4cef25
exclude beams compiled from source in `test` from the .app file
10 anni fa
alisdair sullivan
c7c00bccfd
modify `ct` and `eunit` to work with isolated `ebin` dirs
10 anni fa
alisdair sullivan
12726111bc
`add_to_profile/3` function added to `rebar_state`
10 anni fa
Tristan Sloughter
baf46a861b
Merge pull request #187 from tsloughter/profiles_dir
make base_dir for a run include the profiles in path, link to shared dep
10 anni fa
Fred Hebert
8affde1c37
Merge pull request #200 from ferd/useless-test-from-fruitless-debugging
Some free tests from a debugging session
10 anni fa
Fred Hebert
b98d977c5d
Some free tests from a debugging session
The session was unfruitful, but I guess the tests were not necessarily
10 anni fa
Fred Hebert
03f542d0dd
Merge pull request #199 from tsloughter/empty_list_profile_merge
don't replace non-string list with empty list in profile merge
10 anni fa
Tristan Sloughter
80f276e5e5
don't replace non-string list with empty list in profile merge
10 anni fa
Tristan Sloughter
af0f4bb20a
include test dir in symlinks
10 anni fa
Tristan Sloughter
0a8ee68042
fix compile/3 call in common_test provider
10 anni fa
Tristan Sloughter
75f8a772b0
copy all files from ebin to build output ebin if exists
10 anni fa
Tristan Sloughter
9fc885073b
use same symlink or copy function for deps links
10 anni fa
Tristan Sloughter
440f0d7524
update compile call from common test provider with new outdir
10 anni fa
Tristan Sloughter
675044bc83
use relative path on non-windows and copy if link fails
10 anni fa
Tristan Sloughter
65204ba0ba
include link to src in outdir for R15 cover/xref
10 anni fa
Tristan Sloughter
a238bc24c6
output proper error message for missing app file
10 anni fa
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 anni fa
Tristan Sloughter
d4c2332aab
make base_dir for a run include the profiles in path, link to shared deps
10 anni fa
Tristan Sloughter
71d70fca1f
Merge pull request #193 from rebar/clear-docs-to-website
Documentation is maintained on www.rebar3.org
10 anni fa
Fred Hebert
c8023cee0b
Documentation is maintained on www.rebar3.org
10 anni fa
Fred Hebert
1ac54972a9
Merge pull request #192 from talentdeficit/do_over
reset state between tasks run with `do`
10 anni fa
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 anni fa
Tristan Sloughter
5396c5b7fe
Merge pull request #188 from ferd/fix-env-var-expansion
Port env var expension fix from rebar2
10 anni fa
Fred Hebert
456b9ae8ea
Merge pull request #189 from tsloughter/edoc
add edoc provider
10 anni fa
Tristan Sloughter
2f9c65c690
Merge pull request #183 from ferd/hg-resource
Support mercurial (hg) dependencies
10 anni fa
Tristan Sloughter
4eaeca8890
add edoc provider
10 anni fa
Fred Hebert
a8ceafbf4c
Port env var expension fix from rebar2
See https://github.com/rebar/rebar/pull/458
10 anni fa
Fred Hebert
b7d9f5c8c9
Merge pull request #185 from tsloughter/info_install_deps
remove old info function from install_deps, it is a bare provider
10 anni fa
Tristan Sloughter
dcd8962afb
remove old info function from install_deps, it is a bare provider
10 anni fa
Tristan Sloughter
c9fd3c73aa
Merge pull request #184 from ferd/fix-deps-unknown-src
Fix crash on non-git source deps in deps provider
10 anni fa
Fred Hebert
e8b2c274e9
Fix crash on non-git source deps in deps provider
The 'element(1, ..)' guard would always fail and cause crashes.
10 anni fa
Fred Hebert
6fa030d94c
Support mercurial (hg) dependencies
10 anni fa
Tristan Sloughter
ba2e2cb328
Merge pull request #182 from tsloughter/profile_tests
profiles: combine lists of values for conflicting config options
10 anni fa
Tristan Sloughter
235436a410
profiles: combine lists of values for conflicting config options
10 anni fa
Tristan Sloughter
ef83d4e821
Merge pull request #180 from ferd/correct-vsn
We can use 3.0.0 when we're done.
10 anni fa
Fred Hebert
1a132f6c36
We can use 3.0.0 when we're done.
10 anni fa
Fred Hebert
a0e85721ca
Merge pull request #179 from ferd/upgrade-pkg
Upgrade pkg
10 anni fa
Fred Hebert
6ccef53891
Revert accidental commited debug code
10 anni fa
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 anni fa
Fred Hebert
249be4985c
Reuse test code and drop duplicated stuff
10 anni fa
Tristan Sloughter
e05f483043
Merge pull request #178 from rebar/merge-lock-fix
Fix lock merging for nonexistant lock files.
10 anni fa
Fred Hebert
d6dc56da03
Fix lock merging for nonexistant lock files.
10 anni fa
Fred Hebert
90bf65ed95
Merge pull request #174 from tsloughter/profile_tests
basic profile deps tests
10 anni fa
Fred Hebert
f726800a05
Merge pull request #177 from tsloughter/hook_output
output hook stdout and don't add extra newline
10 anni fa
Tristan Sloughter
0c402a8293
output hook stdout and don't add extra newline
10 anni fa