From b5b419ad0a89b36e136f4509a59a145f991e833d Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 21 Dec 2021 12:37:37 +0000 Subject: Scalafmt mention --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d7009e8..4b5abf8 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,14 @@ Run the server with `./mill server.run` and the tests with `./mill server.test`. To build the `jar` bundle, run `./mill server.assembly` and the result will be generated in `out/server/assembly/dest/`. +The sources must be formatted with `scalafmt`, either via your editor or running: + +``` +./mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources +``` + +This will be enforced by CI. + ## License Copyright (C) 2021 Juan J. Martinez -- cgit v1.2.3