diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-01-12 14:05:25 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:31:07 +0100 |
commit | 3cee0b5e38f05bd70bec9d2bb392acdbd4fe8052 (patch) | |
tree | f05f59ccae411d1909fc14aacbb8ad740769c778 /docs/docs/contributing/workflow.md | |
parent | ab80297a30fc5942b811e9b6287230894361466e (diff) | |
download | dotty-3cee0b5e38f05bd70bec9d2bb392acdbd4fe8052.tar.gz dotty-3cee0b5e38f05bd70bec9d2bb392acdbd4fe8052.tar.bz2 dotty-3cee0b5e38f05bd70bec9d2bb392acdbd4fe8052.zip |
Port old site to dottydoc
Diffstat (limited to 'docs/docs/contributing/workflow.md')
-rw-r--r-- | docs/docs/contributing/workflow.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/docs/contributing/workflow.md b/docs/docs/contributing/workflow.md index fb8da0da3..6e7f5b9a0 100644 --- a/docs/docs/contributing/workflow.md +++ b/docs/docs/contributing/workflow.md @@ -1,6 +1,6 @@ --- -layout: default -title: "Workflow" +layout: doc-page +title: Workflow --- This document details common workflow patterns when working with Dotty. @@ -19,13 +19,14 @@ git clone -b dotty-library https://github.com/DarkDimius/scala.git scala-scala From sbt: -```none +```bash +$ sbt > dotc <OPTIONS> <FILE> ``` From terminal: -```none +```bash $ ./bin/dotc <OPTIONS> <FILE> ``` @@ -47,7 +48,7 @@ Additional logging information can be obtained by changes some `noPrinter` to ## Running tests ## -```none +```bash $ sbt > partest --show-diff --verbose ``` @@ -55,7 +56,7 @@ $ sbt ## Running single tests ## To test a specific test tests/x/y.scala (for example tests/pos/t210.scala): -```none +```bash > partest-only-no-bootstrap --show-diff --verbose tests/partest-generated/x/y.scala ``` @@ -67,7 +68,7 @@ the way partest has been set up. There is no power mode for the REPL yet, but you can inspect types with the type stealer: -```none +```bash > repl scala> import dotty.tools.DottyTypeStealer._; import dotty.tools.dotc.core._; import Contexts._,Types._ ``` |