Giter Club home page Giter Club logo

Comments (8)

erikerlandson avatar erikerlandson commented on May 27, 2024

Use the following as a basis for replacing sbt clean unidoc ghpagesPushSite
com-lihaoyi/mill#1194

from coulomb.

erikerlandson avatar erikerlandson commented on May 27, 2024

can use this: ScaladocSiteModule

com-lihaoyi/mill#1194 (comment)

from coulomb.

erikerlandson avatar erikerlandson commented on May 27, 2024

I believe I've demonstrated nearly all that I need here:
https://github.com/erikerlandson/mill-testbed/blob/main/build.sc

Except also should test scalaJS building

from coulomb.

erikerlandson avatar erikerlandson commented on May 27, 2024

I now have a working jvm/js cross-platform example, so I think I am in a position to port the coulomb built to mill.
Will probably do this by constructing the Scala-3 build from the ground up using mill, and leave the legacy scala-2 libraries using sbt.

from coulomb.

cquiroz avatar cquiroz commented on May 27, 2024

What's the benefit of switching to mill. I have no experience with mill as to tell what the benefits are

from coulomb.

erikerlandson avatar erikerlandson commented on May 27, 2024

@cquiroz I've always found sbt's config model to be confusing. Probably the most comprehensive answer to "why mill" or "why not sbt" was written by @lihaoyi :
https://www.lihaoyi.com/post/SowhatswrongwithSBT.html

In my proof-of-concept testing, I feel like I confirmed that mill is easier to reason about than sbt, although such things are always subjective:
https://github.com/erikerlandson/mill-testbed/blob/main/build.sc

I think that no build system can ever be truly "easy", mostly because build systems by necessity live at the intersection of a large number of kinds of functionality, which are discussed here:
https://www.lihaoyi.com/post/BuildToolsasPureFunctionalPrograms.html

So my current point of view is that while mill doesn't magically make everything super easy, it's a solid improvement over sbt. Again, though YMMV.

I guess I'll add link to his third blog post on mill
https://www.lihaoyi.com/post/MillBetterScalaBuilds.html

from coulomb.

cquiroz avatar cquiroz commented on May 27, 2024

Thanks for the detailed write up. I haven't really tried, as hard as it i to understand sbt I have (after a long, long time) managed to make my peace with it. Maybe I should revisit mill

from coulomb.

erikerlandson avatar erikerlandson commented on May 27, 2024

For now I'm feeling OK about using sbt with sbt-typelevel, so I'll close this

from coulomb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.