Bash-it / bash-it

A community Bash framework.
MIT License
14.14k stars 2.29k forks source link

Tweaks to clean files scripts and file list #2230

Open hyperupcall opened 8 months ago

hyperupcall commented 8 months ago

Description

I noticed that all files under lib/* were manually specified in clean_files.txt. I refactored that to the first section.

When running the lint_clean_files.sh script, I receieve the following message:

xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
...

Because the previuos --max-args / -n value is ignored anyways, and to remove the warning, I removed that option from the script.

Motivation and Context

This simplifes the cleaning files workflow.

How Has This Been Tested?

By executing ./lint_clean_files.sh. And double-checking to ensure that directories are, in fact, supported by clean_files.txt.

Screenshots (if appropriate):

Types of changes

Checklist: