Skip to content

Commit 2f06c7b

Browse files
brianteemanQuyTon
andauthored
[5.3] Remove non-distributed files (#45152)
During the build process off a new release or update we remove various files that should not or do not need to be distributed This PR extends the list of files to be removed from the libraries/vendor folder to include .drone.yml .drone.jsonnet Examples can be seen in most of the libraries/vendor/joomla folders Signed-off-by: BrianTeeman <[email protected]> Co-authored-by: Quy Ton <[email protected]>
1 parent 928ce7a commit 2f06c7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/build.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ function clean_checkout(string $dir)
122122
system('find libraries/vendor -name _config.yml | xargs rm -rf -');
123123
system('find libraries/vendor -name .bowerrc | xargs rm -rf -');
124124
system('find libraries/vendor -name bower.json | xargs rm -rf -');
125+
system('find libraries/vendor -name .drone.yml | xargs rm -rf -');
126+
system('find libraries/vendor -name .drone.jsonnet | xargs rm -rf -');
125127
system('rm -rf libraries/vendor/bin');
126128

127129
// aldo26-matthias/idna-convert

0 commit comments

Comments
 (0)