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

Add global options to Jakefile #352

Open
luvies opened this issue Aug 26, 2018 · 2 comments
Open

Add global options to Jakefile #352

luvies opened this issue Aug 26, 2018 · 2 comments

Comments

@luvies
Copy link

luvies commented Aug 26, 2018

Could you add a global options object that allows setting defaults for various options? For example, the exec function current defaults to printStdout and printStderr to false, but with the global options you could do something like the following:

jake.options.exec.printStdout = true;
jake.options.exec.printStderr = true;

And this would mean that all future calls to jake.exec would have both options true by default.

@imhaage
Copy link

imhaage commented May 10, 2019

It would be great to have this feature. If you don't have time and if you agree I could try to implement it.

@mde
Copy link
Contributor

mde commented May 10, 2019

I'd be happy to merge a PR that implements this!

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

No branches or pull requests

3 participants