Skip to content

Commit 3787b82

Browse files
committed
Check presence of newline at the end of files during build
1 parent d166a07 commit 3787b82

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.java text eol=lf
2+
*.properties text eol=lf
23
*.html text eol=lf
34
*.css text eol=lf
45
*.js text eol=lf

org.jacoco.build/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,12 @@
572572
<file>../org.jacoco.core/.settings/org.eclipse.jdt.core.prefs</file>
573573
</eclipse>
574574
<trimTrailingWhitespace/>
575+
<endWithNewline/>
575576
</java>
576577
<formats>
577578
<format>
578579
<includes>
580+
<include>**/*.properties</include>
579581
<include>**/*.html</include>
580582
<include>**/*.css</include>
581583
<include>**/*.js</include>
@@ -588,6 +590,7 @@
588590
</excludes>
589591
<lineEndings>UNIX</lineEndings>
590592
<trimTrailingWhitespace/>
593+
<endWithNewline/>
591594
</format>
592595
</formats>
593596
</configuration>

0 commit comments

Comments
 (0)