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

Please support a :quiet option #417

Open
tmarble opened this issue Oct 9, 2015 · 3 comments
Open

Please support a :quiet option #417

tmarble opened this issue Oct 9, 2015 · 3 comments

Comments

@tmarble
Copy link

tmarble commented Oct 9, 2015

Currently there is no way to prevent the output from the println messages in

Allow me to propose adding a :quiet option to the compiler-options map as demonstrated in

https://github.com/tmarble/lein-cljsbuild/commit/bd4a856c16d39cfef5b0ab8e0e6e50cd7204d6be

@mneise
Copy link
Collaborator

mneise commented Oct 10, 2015

Instead of adding another option, I was thinking to replace the println statements with leiningen.core.main/info, leiningen.core.main/warn, or leiningen.core.main/debug. Users could then set LEIN_SILENT to true to suppress info-level and warning-level output and set DEBUG to true to see debug-level output. PRs for this are welcome.

@danielcompton
Copy link
Contributor

This is kind of related to #397 too.

@tmarble
Copy link
Author

tmarble commented Oct 11, 2015

@mneise I have created PR #418 and setting LEIN_SILENT=true is now effective to silence the output (please see the PR comments).

@danielcompton upon reviewing #397 I believe it is of sufficiently different scope that it doesn't make sense to propose a solution to that bug in this one.

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

No branches or pull requests

3 participants