diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-07-18 18:33:01 +0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-07-18 18:33:01 +0800 |
commit | 5c0016ebbda6ec74db2bdde92a6afca42fe6d076 (patch) | |
tree | e538afbbb7c17cf2b4b883ba3a1c941042b71d7d /docs/pages | |
parent | ec05545d0e1d153753104ce9528161911725359a (diff) | |
download | mill-5c0016ebbda6ec74db2bdde92a6afca42fe6d076.tar.gz mill-5c0016ebbda6ec74db2bdde92a6afca42fe6d076.tar.bz2 mill-5c0016ebbda6ec74db2bdde92a6afca42fe6d076.zip |
tweak docs
Diffstat (limited to 'docs/pages')
-rw-r--r-- | docs/pages/3 - Common Project Layouts.md | 19 |
1 files 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: |