This is an automated email from the ASF dual-hosted git repository.

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 911d6eeb3 build: sbt-header resolves scala.template src files
911d6eeb3 is described below

commit 911d6eeb336c0335cf8696f5ab55ba433e88cfac
Author: krrrr38 <[email protected]>
AuthorDate: Sun Jul 23 09:06:20 2023 +0900

    build: sbt-header resolves scala.template src files
---
 project/CopyrightHeader.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/project/CopyrightHeader.scala b/project/CopyrightHeader.scala
index 6f72b32f8..14e97d9ef 100644
--- a/project/CopyrightHeader.scala
+++ b/project/CopyrightHeader.scala
@@ -33,7 +33,8 @@ object CopyrightHeader extends AutoPlugin {
             HeaderFileType.scala -> cStyleComment,
             HeaderFileType.java -> cStyleComment,
             HeaderFileType.conf -> hashLineComment,
-            HeaderFileType("template") -> cStyleComment)))
+            HeaderFileType("template") -> cStyleComment),
+          headerSources ++= (sourceDirectory.value ** "*.scala.template").get))
     })
 
   val apacheFromAkkaSourceHeader: String =


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to