This website requires JavaScript.
Explore
Help
Sign In
github
/
rebar
Watch
1
Star
0
Fork
You've already forked rebar
0
mirror of
https://github.com/correl/rebar.git
synced
2024-12-18 11:06:20 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
fdb66ecb94
rebar
/
.gitignore
12 lines
98 B
Text
Raw
Normal View
History
Unescape
Escape
Fix #267 (code path regression) Since the introduction of -r/--recursive, deps were not properly added to the code path when running ct, eunit, etc. To fix that, pass a flag down to process_dir1 and conditionalize execution of the command. This moves the decision into process_dir1 where we can decide to invoke preprocess/2 and postprocess/2 but not execute the command. Without this fix, you'd have to, for example, invoke 'rebar -r ct skip_deps=true', if you wanted to run base_dir's ct suites with deps on the code path (while skipping all non-base_dir ct suites). So, with this patch applied, if you run $ rebar ct deps will be on the code path, and only base_dir's ct suites will be tested. If you want to test ct suites in base_dir and sub_dirs, you have to run $ rebar -r ct skip_deps=true If you want to test ct suites in all dirs, you have to run $ rebar -r ct The fix is not specific to ct and applies to all commands. To be able to add inttest/code_path_no_recurse/deps, I had to fix .gitignore. While at it, I've updated and fixed all entries.
2014-04-20 09:59:41 +00:00
/ebin/*.beam
/rebar
Add .gitignore to the source tree Ignore common files during development.
2010-10-03 14:00:15 +00:00
*~
*.orig
.*.swp
Fix #267 (code path regression) Since the introduction of -r/--recursive, deps were not properly added to the code path when running ct, eunit, etc. To fix that, pass a flag down to process_dir1 and conditionalize execution of the command. This moves the decision into process_dir1 where we can decide to invoke preprocess/2 and postprocess/2 but not execute the command. Without this fix, you'd have to, for example, invoke 'rebar -r ct skip_deps=true', if you wanted to run base_dir's ct suites with deps on the code path (while skipping all non-base_dir ct suites). So, with this patch applied, if you run $ rebar ct deps will be on the code path, and only base_dir's ct suites will be tested. If you want to test ct suites in base_dir and sub_dirs, you have to run $ rebar -r ct skip_deps=true If you want to test ct suites in all dirs, you have to run $ rebar -r ct The fix is not specific to ct and applies to all commands. To be able to add inttest/code_path_no_recurse/deps, I had to fix .gitignore. While at it, I've updated and fixed all entries.
2014-04-20 09:59:41 +00:00
/rt.work
/dialyzer_warnings
/rebar.cmd
/.eunit
/deps
/.rebar
Reference in a new issue
Copy permalink