From 4c73eb28965e02e36a98983d2c199a09bd75897a Mon Sep 17 00:00:00 2001 From: Christian Flach Date: Tue, 10 Apr 2018 17:17:42 +0200 Subject: [PATCH] Exclude top level files from zip downloads `export-ignore`ing files with the `.gitattributes` files excludes files and folders from GitHub's .zip downloads. Cloning using Git is not affected and works as before. This makes it easier to install, because there is no need to uncheck unwanted files and folders. --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitattributes b/.gitattributes index 52cdf1f..002f93b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,12 @@ *.gd eol=lf *.cfg eol=lf + +# Exclude all top-level files and directories (except addons) from zip downloads. +# This makes installing through the AssetLib easier, because no files and folders +# need to be unchecked. + +/.gitattributes export-ignore +/.gitignore export-ignore +/ISSUE_TEMPLATE.md export-ignore +/LICENSE export-ignore +/README.md export-ignore