Skip to content

Make rake invocation less verbose#19

Closed
He-Ro wants to merge 1 commit intosinclairtarget:masterfrom
He-Ro:less_verbose_rake
Closed

Make rake invocation less verbose#19
He-Ro wants to merge 1 commit intosinclairtarget:masterfrom
He-Ro:less_verbose_rake

Conversation

@He-Ro
Copy link
Contributor

@He-Ro He-Ro commented Oct 8, 2018

Only create the output directory if needed.

This is my first time coding in Ruby, so any hint about better format/coding style would be welcome ;)
In the AUR package someone suggested to remove the multiple mkdir -p doc/man1 output lines, when building the package.

So now you only see this line once and only if the directory did not exist beforehand.

Only create the output directory if needed
@sinclairtarget
Copy link
Owner

See 9f3e21d.

This is a good idea, but I'm pretty sure what you've got just executes every time the Rakefile is read. We should only create the /doc/man1 directory when we're running the rake man task.

If you really need Rake to be silent, you can pass the -s flag.

@He-Ro He-Ro deleted the less_verbose_rake branch October 17, 2018 08:30
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.

2 participants