Skip to content

Commit

Permalink
Document snapshot resolver and sbt-cross (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasseGuillaume authored and densh committed Nov 29, 2016
1 parent b780d6f commit bffcec4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/user/sbt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Create a file ``project/build.properties`` to define the sbt version as follows:
define a new ``build.sbt``::

resolvers += Resolver.sonatypeRepo("snapshots")

enablePlugins(ScalaNativePlugin)

scalaVersion := "2.11.8"
Expand All @@ -32,4 +34,9 @@ and now you can write your first application in ``./src/main/scala/HelloWorld.sc

now simply run ``sbt run`` to get everything compiled and have the expected output!

Cross compilation to JS, JVM and Native
---------------------------------------

We created `sbt-cross <https://github.com/scala-native/sbt-cross>`_ to be a drop-in replacement of Scala.js' crossProject. Please refer to the documentation in the README.

Continue to :ref:`lang`.

0 comments on commit bffcec4

Please sign in to comment.