🎉 We’re thrilled to announce that you can now apply patterns from an existing repo to another 🙌 you can copy the patterns & tools settings from another repo, allowing for easier quality standardization.
Learn how to import tool & pattern configurations: hubs.li/H0DV7480
New year, new video!
Today I want to show how easy it is to integrate external tools with Mill, using its nice caching capabilities.
Integrating Scala Mill build tool with Sass invidious.snopyta.org/tWx1yLqH_CA via @YouTube
Released SNUnit 0.0.3
Now request handlers can be composed with multiple filters using a builder interface
.withRequestHandler(
_.withMethod(Method.GET)
.withRoute(Root / "int" / Arg[Int]) {
case (req, i) =>
req.send(StatusCode.OK, s"Got $i", Seq())
}
)
This is how you release a project to maven central with mill:
./mill -j 8 mill.scalalib.PublishModule/publishAll --publishArtifacts __.publishArtifacts --sonatypeCreds $SONATYPE_USER:SONATYPE_PASS --release true --gpgArgs --passphrase=$GPG_PASSPHRASE,--batch,--yes,-a,-b
That's it
Released SNUnit 0.0.3
Now request handlers can be composed with multiple filters using a builder interface
.withRequestHandler(
_.withMethod(Method.GET)
.withRoute(Root / "int" / Arg[Int]) {
case (req, i) =>
req.send(StatusCode.OK, s"Got $i", Seq())
}
)