Skip to content

Commit 2f1621e

Browse files
tec: Add a .gitattributes file
This avoids to export files that aren't useful in production in Zip and Tar archives. Note that `git archive` doesn't include submodules (i.e. `lib/Minz`), so the archives don't have all the necessary files to work. Hence, the only official way to install in production is still via `git clone`.
1 parent 2516bb5 commit 2f1621e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.* export-ignore
2+
3+
/docker export-ignore
4+
/tests export-ignore
5+
6+
/composer.json export-ignore
7+
/composer.lock export-ignore
8+
9+
/package-lock.json export-ignore
10+
/package.json export-ignore

0 commit comments

Comments
 (0)