Skip to content

finos/morphir-jvm

Folders and files

NameName
Last commit message
Last commit date
Mar 17, 2025
Oct 5, 2024
Aug 3, 2022
Jul 17, 2023
Mar 17, 2025
Oct 9, 2024
Oct 4, 2024
Apr 19, 2020
Jul 5, 2020
Dec 10, 2020
May 5, 2020
Jan 6, 2024
Mar 17, 2025
May 20, 2020
Oct 4, 2024
Aug 10, 2020
Aug 10, 2020
Mar 3, 2020
Aug 10, 2020
Aug 10, 2020
Jul 26, 2024
Mar 17, 2025
Mar 17, 2025
Mar 17, 2025
Jun 16, 2020
Apr 19, 2020

Repository files navigation

Morphir JVM binding

This repo contains tools to work with the Morphir IR on the JVM. It will include data models for the IR, JSON serialization and developer tooling.

How to build and test

Morphir-jvm use mill as its build tool.

IntelliJ Setup for Linux

If you are using IntelliJ IDEA to edit morphir-jvm's Scala code, you can create the IntelliJ project files via:

./mill mill.scalalib.GenIdea/idea

BSP Setup

If you are using Visual Studio Code, IntelliJ, or any of the Editors which support BSP you can also generate BSP config files via:

./mill mill.contrib.Bloop/install

Run Tests

./mill __.test

or in watch mode:

./mill -w __.test

Formatting Code

Code needs to be formatted according to scalafmt rules. To run scalafmt on all the source code using:

./mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources

or in watch mode to reformat changed files:

./mill -w mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources

IntelliJ Setup for Windows

If you are using IntelliJ IDEA to edit morphir-jvm's Scala code, you can create the IntelliJ project files via:

.\mill mill.scalalib.GenIdea/idea

BSP Setup

If you are using Visual Studio Code, IntelliJ, or any of the Editors which support BSP you can also generate BSP config files via:

.\mill mill.contrib.Bloop/install

Run Tests

.\mill __.test

or in watch mode:

.\mill -w __.test

Formatting Code

Code needs to be formatted according to scalafmt rules. To run scalafmt on all the source code using:

.\mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources

or in watch mode to reformat changed files:

.\mill -w mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources

Contributing