Skip to content

Commit

Permalink
Merge pull request #42065 from nextcloud/chore/ignore-dev-dependencies
Browse files Browse the repository at this point in the history
fix: Let git ignore composer dev dependencies
  • Loading branch information
nickvergessen authored Dec 7, 2023
2 parents 9296788 + b6df9b7 commit 4f8c998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ tests/acceptance/vendor/

composer.phar
/lib/composer/bin
/lib/composer/bamarni
/vendor-bin/**/vendor

./.htaccess
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}
},
"autoload": {
"exclude-from-classmap": ["**/bamarni/composer-bin-plugin/**"],
"files": [
"lib/public/Log/functions.php"
],
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 4f8c998

Please sign in to comment.