1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00
eclair/BUILD.md
Pierre-Marie Padiou 892770b1ed
Update scalatest and remove junit runner (#728)
* updated to scalatest 3.0.5

* use scalatest runner instead of junit

Output is far more readable, and makes console (incl. travis) reports
actually usable.

Turned off test logs as error reporting is enough to figure out what
happens.

The only downside is that we can't use junit's categories to group
tests, like we did for docker related tests. We	could use nested suites,
but that seems to be overkill so I just removed the categories. Users
will only have the possibility to either skip/run all tests.

* update scala-maven-plugin to 3.4.2

NB: This requires maven 3.5.4, which means that we currently need to
manually install maven on travis.

Also updated Docker java version to 8u181 (8u171 for compiling).
2018-10-11 19:01:41 +02:00

907 B

Building Eclair

Requirements

Build

To build the project, simply run:

$ mvn install

Other build options

To skip all tests, run:

$ mvn install -DskipTests

To only build the eclair-node module

$ mvn install -pl eclair-node -am -DskipTests

To generate the windows installer along with the build, run the following command:

$ mvn install -DskipTests -Pinstaller

The generated installer will be located in eclair-node-gui/target/jfx/installer