Tristan Sloughter
794b985b1b
don't traverse into subdirectories looking for beams
10 years ago
Fred Hebert
f65f506ac2
Bump to alpha
10 years ago
Tristan Sloughter
3f5fa807cb
update erlydtl compiler to output to _build, add simple test
10 years ago
Fred Hebert
8cfb4df3e0
Fix namespace regressions
This adds some more convolution to command parsing, unfortunately, but
makes some cases clearer (`rebar3 as as as as` is no longer valid). It
unfortunately disallows using $REBAR_PROFILE along with `as` in a rebar
command.
10 years ago
Tristan Sloughter
ea82d0561d
update all examples in providers to use rebar3
10 years ago
alisdair sullivan
ba79fc0823
parse `rebar3 as foo, bar task` correctly
fixes #238
10 years ago
Pierre Fenoll
2d3a0ebe21
Add escriptize provider and a minimal test
10 years ago
Tristan Sloughter
d623b39642
fix code path update for deps
10 years ago
Tristan Sloughter
0399b0eeb3
add comment about resetting opts
10 years ago
Tristan Sloughter
0638c85634
store base opts after initialization of providers
10 years ago
Tristan Sloughter
7f508c30a1
apply profiles and overrides for an app's opts to the base opts
10 years ago
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 years ago
James Fish
c7d0c40703
Add debug statements to dialyzer provider
10 years ago
James Fish
37850ed819
Shorten default PLT name
10 years ago
Tristan Sloughter
1b851267f8
use git or hg configs if exist for default user and email in templates
10 years ago
James Fish
53e43298ba
Fix dialyzer active otp release detection
10 years ago
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 years ago
alisdair sullivan
ccfebdd155
switch from loading modules to read compile info to using `beam_lib`
fixes #216 and #220
10 years ago
Tristan Sloughter
4a2996a756
fix for profiles_remain_applied_with_config_present
10 years ago
James Fish
d6d45258d6
Don't include directories when testing subset of ct suites
10 years ago
alisdair sullivan
90bff8f8d4
preserve state when compiling directories with a `rebar.config`
10 years ago
alisdair sullivan
1c56941225
fix issue where apps with a `rebar.config` were preventing
rebar state from propogating appropriately
10 years ago
alisdair sullivan
945eb364ee
include full path in pointer to `ct` output
10 years ago
alisdair sullivan
434c662816
rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively
10 years ago
alisdair sullivan
d72812cb5f
name profile directories in `_build` similarly to the arguments
to `as` used to generate them
10 years ago
alisdair sullivan
993a9efa58
move `_logs` and `_cover` to `_build` dir
10 years ago
James Fish
4ac347c4bf
Do not automatically check plt
10 years ago
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 years ago
Tristan Sloughter
392108000a
use rebar_utils:sh for git and hg commands to have better errors and logs
10 years ago
Tristan Sloughter
8ce1de1825
use rebar_file_utils:mv instead of copy for fetched source
10 years ago
alisdair sullivan
6c421e5433
change from post-purging modules after checking their module info to
pre-purging before checking to facilitate long do chains
10 years ago
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 years ago
alisdair sullivan
0e606138c5
print warning if cover can't annotate source and skip file
10 years ago
alisdair sullivan
eb93bb000a
replace use of `float_to_list/2` for r15x
10 years ago
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 years ago
alisdair sullivan
4a61bae7b3
`as` delegates task handling to `do` provider
10 years ago
alisdair sullivan
516a4cef25
exclude beams compiled from source in `test` from the .app file
10 years ago
alisdair sullivan
c7c00bccfd
modify `ct` and `eunit` to work with isolated `ebin` dirs
10 years ago
alisdair sullivan
12726111bc
`add_to_profile/3` function added to `rebar_state`
10 years ago
Tristan Sloughter
80f276e5e5
don't replace non-string list with empty list in profile merge
10 years ago
Tristan Sloughter
af0f4bb20a
include test dir in symlinks
10 years ago
Tristan Sloughter
0a8ee68042
fix compile/3 call in common_test provider
10 years ago
Tristan Sloughter
75f8a772b0
copy all files from ebin to build output ebin if exists
10 years ago
Tristan Sloughter
9fc885073b
use same symlink or copy function for deps links
10 years ago
Tristan Sloughter
440f0d7524
update compile call from common test provider with new outdir
10 years ago
Tristan Sloughter
675044bc83
use relative path on non-windows and copy if link fails
10 years ago
Tristan Sloughter
65204ba0ba
include link to src in outdir for R15 cover/xref
10 years ago
Tristan Sloughter
a238bc24c6
output proper error message for missing app file
10 years ago
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 years ago
Tristan Sloughter
d4c2332aab
make base_dir for a run include the profiles in path, link to shared deps
10 years ago