From f06a4ac8e53c1fc728a0e6c90716bd6bab4a9671 Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Thu, 9 Nov 2023 12:19:27 +0100 Subject: [PATCH] feat(helper-cli): Extend path exclude generator by a couple of patterns These filenames / patterns seem to be common in the NuGet space. Signed-off-by: Frank Viernau --- helper-cli/src/main/kotlin/utils/PathExcludeGenerator.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helper-cli/src/main/kotlin/utils/PathExcludeGenerator.kt b/helper-cli/src/main/kotlin/utils/PathExcludeGenerator.kt index 992d3ab1ca11e..d42854eacd0de 100644 --- a/helper-cli/src/main/kotlin/utils/PathExcludeGenerator.kt +++ b/helper-cli/src/main/kotlin/utils/PathExcludeGenerator.kt @@ -155,6 +155,7 @@ private val PATH_EXCLUDES_REASON_FOR_DIR_NAME = listOf( ".gradle" to BUILD_TOOL_OF, ".idea" to BUILD_TOOL_OF, ".mvn" to BUILD_TOOL_OF, + ".nuget" to BUILD_TOOL_OF, ".teamcity" to BUILD_TOOL_OF, ".travis" to BUILD_TOOL_OF, ".yarn" to BUILD_TOOL_OF, @@ -235,8 +236,11 @@ private val PATH_EXCLUDE_REASON_FOR_FILENAME = listOf( "RELEASE-NOTES*" to DOCUMENTATION_OF, "Rakefile*" to BUILD_TOOL_OF, "SECURITY.md" to DOCUMENTATION_OF, + "build" to BUILD_TOOL_OF, "build*.sh" to BUILD_TOOL_OF, + "build.bat" to BUILD_TOOL_OF, "build.gradle" to BUILD_TOOL_OF, + "build.proj" to BUILD_TOOL_OF, "build.rs" to BUILD_TOOL_OF, // Rust build script. "build.sbt" to BUILD_TOOL_OF, "changelog*" to BUILD_TOOL_OF,