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

How to quiet this message? #7624

Open
ioquatix opened this issue May 3, 2024 · 2 comments
Open

How to quiet this message? #7624

ioquatix opened this issue May 3, 2024 · 2 comments

Comments

@ioquatix
Copy link
Contributor

ioquatix commented May 3, 2024

say <<-EOM
Successfully built RubyGem
Name: #{@spec.name}
Version: #{@spec.version}
File: #{File.basename @gem.path}
EOM

This is a main entry point for building a gem/package.

::Gem::Package.build(@gemspec, false, false, output_path)

But it also generates output that I'd rather not print.

We could introduce a quiet option? Or some other mechanism to quiet the output, e.g.

::Gem::Package.build(@gemspec, false, false, output_path, quiet: true)
@deivid-rodriguez
Copy link
Member

I think it'd be fine to introduce a quiet option.

@ioquatix
Copy link
Contributor Author

Okay, I'll make a PR.

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

2 participants