Comments (8)
Use the following as a basis for replacing sbt clean unidoc ghpagesPushSite
com-lihaoyi/mill#1194
from coulomb.
can use this: ScaladocSiteModule
com-lihaoyi/mill#1194 (comment)
from coulomb.
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.
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.
What's the benefit of switching to mill
. I have no experience with mill
as to tell what the benefits are
from coulomb.
@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.
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.
For now I'm feeling OK about using sbt with sbt-typelevel
, so I'll close this
from coulomb.
Related Issues (20)
- scalacheck property testing starting to flake HOT 4
- Remove dependency on spire HOT 8
- upgrading to sbt 1.5.0 breaks the build HOT 1
- Scalar operations HOT 2
- Snapshot publish failed on scala 3 branch HOT 2
- Scala 3 tests are not running on JS or Native HOT 2
- scala3 questions HOT 5
- mdoc:fail behaving weirdly HOT 5
- Consider supporting Scala Native HOT 4
- Links to source code from API docs not working HOT 9
- DeltaUnit for YearsBC not resolving offset correctly? HOT 8
- Support for millisecond base time unit HOT 1
- 2 Issues: Simplifying and exporting time units HOT 10
- toInstant doesnt compile for millisecond Long timestamp HOT 3
- Documentation tweaks HOT 1
- migrate to s01.oss.sonatype.org HOT 1
- Simplifying coulomb operation signatures HOT 15
- Compiler crash I can't localize
- constant-factor syntax support depends on scala 3.4 (?) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coulomb.