com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-4x faster than Gradle and 4-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
https://mill-build.org/
MIT License
2.21k stars 353 forks source link

[RFC] Create a module that can compile and run Ammonite and scala-cli scripts #1675

Open lefou opened 2 years ago

lefou commented 2 years ago

This related to https://github.com/com-lihaoyi/Ammonite/issues/1228, which is worth a full read to understand the motivation

We need a module, that can

Once this is ready, we can stop using Ammonite for all of these tasks and can use this module to provide better BSP support.

hilcode commented 2 years ago

Seems like a good idea. The less magic, the better.

lefou commented 2 years ago

It might be worth to evaluate, if we can adapt the using directive (https://scala-cli.virtuslab.org/docs/guides/configuration#in-scala-and-sc-files) from Scala-cli for Mill build scripts. It seems to be much easier to parse them from Mill.

lefou commented 1 year ago