From 5c0016ebbda6ec74db2bdde92a6afca42fe6d076 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Wed, 18 Jul 2018 18:33:01 +0800 Subject: tweak docs --- docs/pages/3 - Common Project Layouts.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/pages/3 - Common Project Layouts.md b/docs/pages/3 - Common Project Layouts.md index 5e668f8c..747b9403 100644 --- a/docs/pages/3 - Common Project Layouts.md +++ b/docs/pages/3 - Common Project Layouts.md @@ -132,18 +132,21 @@ object Hello{ } } ``` -`ScalaNativeModule` builds scala sources to executable binaries using [Scala Native](http://www.scala-native.org). -You will need to have the [relevant parts](http://www.scala-native.org/en/latest/user/setup.html) -of the LLVM toolchain installed on your system. Optimized binaries can be built by setting -`releaseMode` (see above) and more verbose logging can be enabled using `logLevel`. -Currently two test frameworks are supported [utest](https://github.com/lihaoyi/utest) and [scalatest](http://www.scalatest.org/). -Support for [scalacheck](https://www.scalacheck.org/) should be possible when the relevant artifacts have been published -for scala native. - The normal commands `mill hello.compile`, `mill hello.run`, all work. If you want to build a standalone executable, you can use `mill show hello.nativeLink` to create it. +`ScalaNativeModule` builds scala sources to executable binaries using +[Scala Native](http://www.scala-native.org). You will need to have the +[relevant parts](http://www.scala-native.org/en/latest/user/setup.html) of the +LLVM toolchain installed on your system. Optimized binaries can be built by +setting `releaseMode` (see above) and more verbose logging can be enabled using +`logLevel`. Currently two test frameworks are supported +[utest](https://github.com/lihaoyi/utest) and +[scalatest](http://www.scalatest.org/). Support for +[scalacheck](https://www.scalacheck.org/) should be possible when the relevant +artifacts have been published for scala native. + Here's a slightly larger example, demonstrating how to use third party dependencies (note the two sets of double-colons `::` necessary) and a test suite: -- cgit v1.2.3