feat(build): add .nextcloudignore file to match Krankerl behaviour

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
Benjamin Gaussorgues 2026-01-09 10:36:51 +01:00
parent 18a7369bb9
commit b9c3e47b82
No known key found for this signature in database
2 changed files with 30 additions and 0 deletions

29
.nextcloudignore Normal file
View file

@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-only
# Files removed at build time
# Global exclude
.editorconfig
.git
.git-blame-ignore-revs
.gitattributes
.github
.gitignore
.gitmodules
.idea
.l10nignore
.nextcloudignore
.noopenapi
.tx
cypress
tests
# Server specific
/.devcontainer
/__mocks__
/__tests__
/autotest*.sh
/build
/config/config.php
/contribute
/data

View file

@ -22,6 +22,7 @@ $expectedFiles = [
'.idea',
'.jshintrc',
'.mailmap',
'.nextcloudignore',
'.npmignore',
'.php-cs-fixer.dist.php',
'.pre-commit-config.yaml',