Skip to content

Commit 0a95ab5

Browse files
committed
Windows specific fixes
1 parent 72631be commit 0a95ab5

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
if: ${{ matrix.os != 'windows-latest' }}
8585
run: USERPROFILE=$HOME mvn install -B --show-version --file javacc-8-java/pom.xml
8686
- name: Run install on javacc-8-java (windows)
87+
env:
88+
MAVEN_OPTS: -Dfile:encoding=utf-8
8789
if: ${{ matrix.os == 'windows-latest' }}
8890
run: mvn install -B --show-version --file javacc-8-java/pom.xml
8991

issues/bas01/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,18 @@ THE POSSIBILITY OF SUCH DAMAGE.
152152
<groupId>org.apache.maven.plugins</groupId>
153153
<artifactId>maven-antrun-plugin</artifactId>
154154
<executions>
155+
<execution>
156+
<id>crlf-test</id>
157+
<phase>compile</phase>
158+
<configuration>
159+
<target>
160+
<fixcrlf srcdir="files" includes="**/*.in" eol="lf" fixlast="false"/>
161+
</target>
162+
</configuration>
163+
<goals>
164+
<goal>run</goal>
165+
</goals>
166+
</execution>
155167
<execution>
156168
<id>check-res-test-1</id>
157169
<phase>test</phase>

0 commit comments

Comments
 (0)