Docs: fix formatting in LocalScala from initial conversion to rST

This commit is contained in:
Mark Harrah 2013-04-09 13:54:45 -04:00
parent d95263f582
commit 4dde1468ad
1 changed files with 10 additions and 2 deletions

View File

@ -7,13 +7,21 @@ which is of type ``Option[File]``. This Scala version will only be used
for the build and not for sbt, which will still use the version it was for the build and not for sbt, which will still use the version it was
compiled against. compiled against.
Example: ``scala scalaHome := Some(file("/path/to/scala"))`` Example:
::
scalaHome := Some(file("/path/to/scala"))``
Using a local Scala version will override the ``scalaVersion`` setting Using a local Scala version will override the ``scalaVersion`` setting
and will not work with :doc:`cross building <Cross-Build>`. and will not work with :doc:`cross building <Cross-Build>`.
sbt reuses the class loader for the local Scala version. If you sbt reuses the class loader for the local Scala version. If you
recompile your local Scala version and you are using sbt interactively, recompile your local Scala version and you are using sbt interactively,
run ``text > reload`` run
::
> reload
to use the new compilation results. to use the new compilation results.