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