diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-02-02 21:42:30 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-02-02 22:00:34 +0100 |
commit | a6a66fe0fd669b807d5827168885fd76395fca59 (patch) | |
tree | 4d7d39fd5ee2f4c7bb456f3ff6a881f9b0f39f13 /Makefile | |
parent | e601f07ee6a85e44c89d80855fc2aa2ab98f9774 (diff) |
Composer: Remove unneeded files in releases
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -143,7 +143,7 @@ endif .PHONY: appstore appstore: rm -rf $(appstore_build_directory) $(appstore_sign_dir) $(appstore_artifact_directory) - mkdir -p $(appstore_sign_dir)/$(app_name) + install -d $(appstore_sign_dir)/$(app_name) cp -r \ "appinfo" \ "css" \ @@ -152,11 +152,15 @@ appstore: "lib" \ "templates" \ "vendor" \ - "COPYING" \ - "AUTHORS.md" \ - "CHANGELOG.md" \ $(appstore_sign_dir)/$(app_name) + #remove composer binaries, those aren't needed + rm -rf $(appstore_sign_dir)/$(app_name)/vendor/bin + + install "COPYING" $(appstore_sign_dir)/$(app_name) + install "AUTHORS.md" $(appstore_sign_dir)/$(app_name) + install "CHANGELOG.md" $(appstore_sign_dir)/$(app_name) + #remove stray .htaccess files since they are filtered by nextcloud find $(appstore_sign_dir) -name .htaccess -exec rm {} \; |