Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Jun 6, 2024
1 parent 13dc79e commit 2b095f2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ Meantime `StaticizedA` will use static method instead of instance one.

Objects `A` and `B` must be from the same package and have the same prefix.

### FACTORIALIZE

The optimization scans the directory and
1. replaces `org/eolang/benchmark/Main.xmir` with [this Main.xmir](https://github.com/objectionary/ineo-maven-plugin/blob/master/src/main/resources/org/eolang/ineo/factorialize/Main.xmir)
2. puts [`Factorialized.xmir`](https://github.com/objectionary/ineo-maven-plugin/blob/master/src/main/resources/org/eolang/ineo/factorialize/Factorialized.xmir) near `Main.xmir`

[Here](https://github.com/objectionary/benchmark) you may find a working example that uses the
plugin with other optimization tools, like [JEO](https://github.com/objectionary/jeo-maven-plugin)
and [OPEO](https://github.com/objectionary/opeo-maven-plugin)
Expand Down Expand Up @@ -114,6 +120,19 @@ configuration to your `pom.xml` file:
<goal>fuse</goal>
</goals>
</execution>
<execution>
<id>factorialize</id>
<phase>generate-sources</phase>
<goals>
<goal>factorialize</goal>
</goals>
<configuration>
<sourcesDir>SOURCES DIRECTORY</sourcesDir>
<outputDir>OUTPUT DIRECTORY</outputDir>
<main>PATH TO Main.xmir</main>
<factorial>PATH TO Factorial.xmir</factorial>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand All @@ -135,4 +154,4 @@ before sending us your pull request please run full Maven build:
$ mvn clean install -Pqulice
```

You will need [Maven 3.3+](https://maven.apache.org) and Java 11+ installed.
You will need [Maven 3.3+](https://maven.apache.org) and Java 11+ installed.

0 comments on commit 2b095f2

Please sign in to comment.