diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-06 16:37:46 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-06 16:37:46 +0100 |
commit | b6df9b703ac5740ddc3803386331363f30b4fa20 (patch) | |
tree | bfbc254e02a9dd145aaf2dc34a5a758648d6fe58 /composer.json | |
parent | e1ecf798d9ccce0b5d0c1b90d6cd93e22c2d9588 (diff) | |
download | nextcloud-server-b6df9b703ac5740ddc3803386331363f30b4fa20.tar.gz nextcloud-server-b6df9b703ac5740ddc3803386331363f30b4fa20.zip |
fix: Let git ignore composer dev dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/composer.json b/composer.json index dcbd908c026..3082f5c7a4a 100644 --- a/composer.json +++ b/composer.json @@ -11,6 +11,7 @@ } }, "autoload": { + "exclude-from-classmap": ["**/bamarni/composer-bin-plugin/**"], "files": [ "lib/public/Log/functions.php" ], @@ -48,11 +49,11 @@ "scripts": { "post-install-cmd": [ "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install", - "composer dump-autoload" + "composer dump-autoload --no-dev" ], "post-update-cmd": [ "[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi", - "composer dump-autoload" + "composer dump-autoload --no-dev" ], "cs:fix": "php-cs-fixer fix", "cs:check": "php-cs-fixer fix --dry-run --diff", |