Merge pull request #16355 from AkihiroSuda/lib-ext-tbd
cleaner: remove *.tbd
This commit is contained in:
commit
db01274744
@ -5,6 +5,7 @@
|
|||||||
# By default:
|
# By default:
|
||||||
#
|
#
|
||||||
# * removes `.la` files
|
# * removes `.la` files
|
||||||
|
# * removes `.tbd` files
|
||||||
# * removes `perllocal.pod` files
|
# * removes `perllocal.pod` files
|
||||||
# * removes `.packlist` files
|
# * removes `.packlist` files
|
||||||
# * removes empty directories
|
# * removes empty directories
|
||||||
@ -125,7 +126,7 @@ class Cleaner
|
|||||||
|
|
||||||
next if path.directory?
|
next if path.directory?
|
||||||
|
|
||||||
if path.extname == ".la" || PERL_BASENAMES.include?(path.basename.to_s)
|
if path.extname == ".la" || path.extname == ".tbd" || PERL_BASENAMES.include?(path.basename.to_s)
|
||||||
path.unlink
|
path.unlink
|
||||||
elsif path.symlink?
|
elsif path.symlink?
|
||||||
# Skip it.
|
# Skip it.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user