chore: update Makefile to be compatible with 3rdparty

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
Vitor Mattos 2025-10-07 17:12:10 -03:00
parent ab05d28919
commit 3e7fce740e
No known key found for this signature in database
GPG key ID: 6FECE2AD4809003A

View file

@ -112,12 +112,16 @@ appstore:
lib \ lib \
templates \ templates \
vendor \ vendor \
3rdparty \
CHANGELOG.md \ CHANGELOG.md \
openapi*.json \ openapi*.json \
$(appstore_sign_dir)/$(app_name) $(appstore_sign_dir)/$(app_name)
rm $(appstore_sign_dir)/$(app_name)/vendor/endroid/qr-code/assets/*
find $(appstore_sign_dir)/$(app_name)/vendor/mpdf/mpdf/ttfonts -type f -not -name 'DejaVuSerifCondensed.ttf' -delete
rm -rf $(appstore_sign_dir)/$(app_name)/img/screenshot/ rm -rf $(appstore_sign_dir)/$(app_name)/img/screenshot/
rm -rf $(appstore_sign_dir)/$(app_name)/3rdparty/.git
rm -rf $(appstore_sign_dir)/$(app_name)/3rdparty/.github
rm -rf $(appstore_sign_dir)/$(app_name)/3rdparty/vendor
rm -rf $(appstore_sign_dir)/$(app_name)/3rdparty/vendor-bin
rm -rf $(appstore_sign_dir)/$(app_name)/3rdparty/scoper.inc.php
mkdir -p $(appstore_sign_dir)/$(app_name)/tests/php/fixtures mkdir -p $(appstore_sign_dir)/$(app_name)/tests/php/fixtures
cp tests/php/fixtures/small_valid.pdf $(appstore_sign_dir)/$(app_name)/tests/php/fixtures cp tests/php/fixtures/small_valid.pdf $(appstore_sign_dir)/$(app_name)/tests/php/fixtures