diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2019-10-11 15:08:02 +0200 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2019-10-11 15:08:02 +0200 |
commit | 3787b8249e4586b0c6fec57d920e5e9c32b6e852 (patch) | |
tree | 6d5b63196968a072e69309977986a1d430f06d8a | |
parent | d166a076ebe3d798bbdea7be982495fe87f6071c (diff) | |
download | jacoco-3787b8249e4586b0c6fec57d920e5e9c32b6e852.tar.gz |
Check presence of newline at the end of files during build
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | org.jacoco.build/pom.xml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 4d5cc754..c6758fd7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ *.java text eol=lf +*.properties text eol=lf *.html text eol=lf *.css text eol=lf *.js text eol=lf diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml index 595bc117..7e07f676 100644 --- a/org.jacoco.build/pom.xml +++ b/org.jacoco.build/pom.xml @@ -572,10 +572,12 @@ <file>../org.jacoco.core/.settings/org.eclipse.jdt.core.prefs</file> </eclipse> <trimTrailingWhitespace/> + <endWithNewline/> </java> <formats> <format> <includes> + <include>**/*.properties</include> <include>**/*.html</include> <include>**/*.css</include> <include>**/*.js</include> @@ -588,6 +590,7 @@ </excludes> <lineEndings>UNIX</lineEndings> <trimTrailingWhitespace/> + <endWithNewline/> </format> </formats> </configuration> |