From 0b1be8ee14a1431ff9d241848b3957780a49c6c0 Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Tue, 21 Jul 2020 21:53:52 +0200 Subject: [PATCH] Delete unnecessary files via composer script --- composer.json | 5 +++++ package.yml | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 7e2cf54..dff9bc5 100644 --- a/composer.json +++ b/composer.json @@ -12,5 +12,10 @@ "platform": { "php": "7.1.3" } + }, + + "scripts": { + "post-install-cmd": "rm -rf vendor/bin vendor/composer vendor/autoload.php vendor/nikic/php-parser/bin vendor/psy/psysh/.phan vendor/psy/psysh/bin", + "post-update-cmd": "@post-install-cmd" } } diff --git a/package.yml b/package.yml index 2dce00d..a547758 100644 --- a/package.yml +++ b/package.yml @@ -10,8 +10,3 @@ requires: php: version: '>=7.1' redaxo: ^5.11 - -installer_ignore: - - vendor/bin - - vendor/composer - - vendor/autoload.php