A Mill plugin for working with Morphir projects and workspaces.
| Mill Version | mill-morphir Version |
|---|---|
| 1.0.6+ | 0.0.1-SNAPSHOT |
Add the following to your build.mill (or build.sc):
import $ivy.`io.eleven19.mill::mill-morphir::0.0.1-SNAPSHOT`
import io.eleven19.mill.morphir._Note: Since this is a Snapshot version, you may need to add the Sonatype Snapshots repository or publish locally first.
This plugin provides modules to integrate Morphir tools (like morphir-elm) into your Mill build pipeline.
Extend MorphirModule to add Morphir capabilities to your module.
object myproject extends MorphirModule {
// Configuration
}We use mise to manage our development tools.
- Install
mise. - Run
mise installto set up specific versions ofjava,node, and utilities.
Alternatively, manually install:
- Java: 17+
- Mill: 1.0.6 (or use
./mill) - Node.js: 20+
- morphir-elm:
npm install -g morphir-elm
mise run build # Compile
mise run test # Run all tests
mise run release # Trigger releaseCompile the project:
./mill -i __.compileRun unit tests:
./mill -i plugin.test.testRun integration tests (requires morphir-elm):
./mill -i itest.testCheck format:
./mill -i __.checkFormatReformat:
./mill -i __.reformat