-
Notifications
You must be signed in to change notification settings - Fork 87
Process command-line files according to config settings #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Previously, command-line files were forced to be processed sequentially, regardless of any `parallel` setting. Now the files are converted to elvis_files and included in the config for regular processing.
|
@elbrujohalcon first stab. Lifted the bits in |
elbrujohalcon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your approach is fine with me. But if you want to create elvis_file:from_filename/1, that's even better… of course.
| ok -> ok | ||
| end; | ||
| _ -> | ||
| lists:map(fun(F) -> rock_one_song(F, Config) end, Files) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we remove rock_one_song/2 entirely, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thought i had! Pushed commit with that removed.
26ef5f2 to
527fbc9
Compare
paulo-ferraz-oliveira
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI's failing, but the general direction is good.
527fbc9 to
26ef5f2
Compare
Previously, command-line files were forced to be processed
sequentially, regardless of any
parallelsetting.Now the files are converted to elvis_files and included in the config
for regular processing.
Addresses #567