Skip to content

Commit b9c3e47

Browse files
committed
feat(build): add .nextcloudignore file to match Krankerl behaviour
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent 18a7369 commit b9c3e47

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.nextcloudignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-only
3+
# Files removed at build time
4+
5+
# Global exclude
6+
.editorconfig
7+
.git
8+
.git-blame-ignore-revs
9+
.gitattributes
10+
.github
11+
.gitignore
12+
.gitmodules
13+
.idea
14+
.l10nignore
15+
.nextcloudignore
16+
.noopenapi
17+
.tx
18+
cypress
19+
tests
20+
21+
# Server specific
22+
/.devcontainer
23+
/__mocks__
24+
/__tests__
25+
/autotest*.sh
26+
/build
27+
/config/config.php
28+
/contribute
29+
/data

build/files-checker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
'.idea',
2323
'.jshintrc',
2424
'.mailmap',
25+
'.nextcloudignore',
2526
'.npmignore',
2627
'.php-cs-fixer.dist.php',
2728
'.pre-commit-config.yaml',

0 commit comments

Comments
 (0)