mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Merge pull request #42065 from nextcloud/chore/ignore-dev-dependencies
fix: Let git ignore composer dev dependencies
This commit is contained in:
commit
4f8c9986f6
2 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -162,6 +162,7 @@ tests/acceptance/vendor/
|
|||
|
||||
composer.phar
|
||||
/lib/composer/bin
|
||||
/lib/composer/bamarni
|
||||
/vendor-bin/**/vendor
|
||||
|
||||
./.htaccess
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue