Skip to content

Commit

Permalink
Merge branch 'master' into 920_string
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Dec 2, 2024
2 parents 36482c1 + d332450 commit 82ea598
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 12 deletions.
41 changes: 30 additions & 11 deletions src/it/bytecode-to-eo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,38 @@ SOFTWARE.
<phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>
</configuration>
</execution>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>print</goal>
</goals>
<configuration>
<printSourcesDir>${project.build.directory}/generated-sources/jeo-xmir</printSourcesDir>
<printOutputDir>${project.build.directory}/generated-sources/jeo-eo</printOutputDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>Print EO</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.44.0</version>
<executions>
<execution>
<id>convert-xmir-to-eo</id>
<phase>process-classes</phase>
<goals>
<goal>print</goal>
</goals>
<configuration>
<printSourcesDir>${project.build.directory}/generated-sources/jeo-xmir</printSourcesDir>
<printOutputDir>${project.build.directory}/generated-sources/jeo-eo</printOutputDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
1 change: 0 additions & 1 deletion src/it/bytecode-to-eo/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ assert log.contains("WithoutPackage.class' disassembled to ")
assert log.contains("BUILD SUCCESS")
//Check that we have generated XMIR object file.
assert new File(basedir, 'target/generated-sources/jeo-xmir/org/eolang/jeo/Application.xmir').exists()
assert new File(basedir, 'target/generated-sources/jeo-eo/org/eolang/jeo/Application.eo').exists()
assert new File(basedir, 'target/generated-sources/jeo-phi/org/eolang/jeo/Application.phi').exists()
true

0 comments on commit 82ea598

Please sign in to comment.