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
9d41b75638
add `cover` task to README
пре 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
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
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 година
Fred Hebert
8affde1c37
Merge pull request #200 from ferd/useless-test-from-fruitless-debugging
Some free tests from a debugging session
пре 10 година
Fred Hebert
b98d977c5d
Some free tests from a debugging session
The session was unfruitful, but I guess the tests were not necessarily
пре 10 година
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 година
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 година
Tristan Sloughter
71d70fca1f
Merge pull request #193 from rebar/clear-docs-to-website
Documentation is maintained on www.rebar3.org
пре 10 година
Fred Hebert
c8023cee0b
Documentation is maintained on www.rebar3.org
пре 10 година
Fred Hebert
1ac54972a9
Merge pull request #192 from talentdeficit/do_over
reset state between tasks run with `do`
пре 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
5396c5b7fe
Merge pull request #188 from ferd/fix-env-var-expansion
Port env var expension fix from rebar2
пре 10 година
Fred Hebert
456b9ae8ea
Merge pull request #189 from tsloughter/edoc
add edoc provider
пре 10 година
Tristan Sloughter
2f9c65c690
Merge pull request #183 from ferd/hg-resource
Support mercurial (hg) dependencies
пре 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 година
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 година
Tristan Sloughter
dcd8962afb
remove old info function from install_deps, it is a bare provider
пре 10 година
Tristan Sloughter
c9fd3c73aa
Merge pull request #184 from ferd/fix-deps-unknown-src
Fix crash on non-git source deps in deps 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
ba2e2cb328
Merge pull request #182 from tsloughter/profile_tests
profiles: combine lists of values for conflicting config options
пре 10 година
Tristan Sloughter
235436a410
profiles: combine lists of values for conflicting config options
пре 10 година
Tristan Sloughter
ef83d4e821
Merge pull request #180 from ferd/correct-vsn
We can use 3.0.0 when we're done.
пре 10 година
Fred Hebert
1a132f6c36
We can use 3.0.0 when we're done.
пре 10 година
Fred Hebert
a0e85721ca
Merge pull request #179 from ferd/upgrade-pkg
Upgrade pkg
пре 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 година
Fred Hebert
249be4985c
Reuse test code and drop duplicated stuff
пре 10 година
Tristan Sloughter
e05f483043
Merge pull request #178 from rebar/merge-lock-fix
Fix lock merging for nonexistant lock files.
пре 10 година
Fred Hebert
d6dc56da03
Fix lock merging for nonexistant lock files.
пре 10 година
Fred Hebert
90bf65ed95
Merge pull request #174 from tsloughter/profile_tests
basic profile deps tests
пре 10 година
Fred Hebert
f726800a05
Merge pull request #177 from tsloughter/hook_output
output hook stdout and don't add extra newline
пре 10 година