From 18470b99daca196257205eae9396a1f74f2bd6fe Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 21 Jun 2016 10:13:03 +0200 Subject: [PATCH] Add .github to the list of VCS folders This prevents a warning when a library contains a .github folder, which can contain some templates and other configuration for the github platform. Signed-off-by: Matthijs Kooijman --- src/arduino.cc/builder/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arduino.cc/builder/utils/utils.go b/src/arduino.cc/builder/utils/utils.go index 5bef8295..4ee08c80 100644 --- a/src/arduino.cc/builder/utils/utils.go +++ b/src/arduino.cc/builder/utils/utils.go @@ -146,7 +146,7 @@ func FilterFilesWithExtension(extension string) filterFiles { } } -var SOURCE_CONTROL_FOLDERS = map[string]bool{"CVS": true, "RCS": true, ".git": true, ".svn": true, ".hg": true, ".bzr": true} +var SOURCE_CONTROL_FOLDERS = map[string]bool{"CVS": true, "RCS": true, ".git": true, ".github": true, ".svn": true, ".hg": true, ".bzr": true} func IsSCCSOrHiddenFile(file os.FileInfo) bool { return IsSCCSFile(file) || IsHiddenFile(file)