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