Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The js7 project is a scala project and has to be build with sbt (Scala Build Tool).

Clone Repository

Navigate to your desired destination folder and clone the repository from the github page.

...

Code Block
languagebash
titleCheckout Latest
git checkout $tag -b latest

Build

Navigate to the root of the checked out project.

Set repository credentials and repository URI for the build to determine where to put the compiled binaries (*.jar files).

The credentials to deploy to a binary repository have to be available from a credentials file, see https://www.scala-sbt.org/1.x/docs/Publishing.html#Credentials.

Code Block
languagebash
export SBT_OPTS="-DpublishRepository.credentialsFile=/path/to/credentials/file -DpublishRepository.uri=uri
/of/the/binary/repository";

Build the project.

Code Block
languagebash
./sbt-batch clean-all compile universal:publish