remov files from rsync.

This commit is contained in:
calcu1on 2025-09-01 21:44:33 -04:00
parent ce111f6339
commit 4353602662
3 changed files with 4 additions and 0 deletions

1
.gitattributes vendored
View File

@ -63,3 +63,4 @@ core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-sp
*.ttf -text diff *.ttf -text diff
*.woff -text diff *.woff -text diff
*.woff2 -text diff *.woff2 -text diff
vendor/ -text

View File

@ -13,6 +13,8 @@
cd dchadwick cd dchadwick
echo "Copying local repo to build dir\n" echo "Copying local repo to build dir\n"
rsync -av --exclude-from="$LOCAL_REPO/scripts/rsync-exclude.txt" $LOCAL_REPO/ . rsync -av --exclude-from="$LOCAL_REPO/scripts/rsync-exclude.txt" $LOCAL_REPO/ .
rm .gitignore
git rm --cached .gitignore
composer install --no-dev --prefer-dist --no-interaction composer install --no-dev --prefer-dist --no-interaction
find . -mindepth 2 -type d -name ".git" -exec rm -rf {} + find . -mindepth 2 -type d -name ".git" -exec rm -rf {} +
git add -A git add -A

View File

@ -15,3 +15,4 @@ web/modules/contrib
web/themes/contrib web/themes/contrib
web/sites/simpletest web/sites/simpletest
web/profiles/contrib web/profiles/contrib
web/sites/default/files