You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_includes/getting-started.html
+18-7Lines changed: 18 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,20 @@
1
-
<divclass="page white">
2
-
<divclass="centered" style="padding-top: 32px">
3
-
<h1id="getting-started">Getting Started</h1>
4
-
<p>
5
-
See the <ahref="https://github.com/lampepfl/dotty-example-project">example project</a>.
6
-
</p>
1
+
<divclass="page blue">
2
+
<divclass="centered questions">
3
+
4
+
<h1id="getting-started">Try Dotty</h1>
5
+
<p>Try it in your browser with <ahref="https://scastie.scala-lang.org/">Scastie</a> by changing the target to Dotty in the Build Settings.</p>
6
+
7
+
8
+
<h1id="getting-started-with-a-project">Create a Dotty Project</h1>
9
+
<p>The fastest way to create a new project in Dotty is using <ahref="http://www.scala-sbt.org/">sbt (0.13.15+)</a>.</p>
10
+
11
+
<p>Create a Dotty project:</p>
12
+
<preclass="sourceCode bright"><code>sbt new <ahref="https://github.com/lampepfl/dotty.g8">lampepfl/dotty.g8</a></code></pre>
13
+
14
+
<p>Or a Dotty project that cross compiles with Scala 2:</p>
15
+
<preclass="sourceCode bright"><code>sbt new <ahref="https://github.com/lampepfl/dotty-cross.g8">lampepfl/dotty-cross.g8</a></code></pre>
16
+
17
+
<p>For documentation see the <ahref="https://github.com/lampepfl/dotty-example-project">Dotty Example Project</a>.</p>
0 commit comments