Skip to content
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

Rake task passes through additional arguments #656

Merged
merged 1 commit into from
Sep 15, 2018

Conversation

utricularian
Copy link
Contributor

We needed our rake task to use the alternate runtime log option which the CLI provides, but we did not want to plumb through one specific option. Instead we surfaced a pass-through field which allows the rake user to specify any number of arbitrary options to pass along to the CLI.

This allows us to have our rake task specify a different runtime-log.

@grosser
Copy link
Owner

grosser commented Sep 14, 2018

that looks neat / universal :)

@grosser grosser merged commit ba5d784 into grosser:master Sep 15, 2018
@grosser
Copy link
Owner

grosser commented Sep 15, 2018

v2.23.0

... some docs for the readme would also be nice, mind making a docs PR ?

@utricularian
Copy link
Contributor Author

We'll get something to you today

@joshuapinter
Copy link
Contributor

This is a great addition, thank you. Allowed us to limit the number of threads to half of what is available on the machine with:

rake parallel:spec[,,,'--multiply-processes 0.5']

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants