Skip to content

Commit

Permalink
respond to review feedback on 'sbt new' adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Aug 14, 2024
1 parent a4f886b commit abfbe9a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 3 additions & 1 deletion docs/getting-started/02-sbt-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,12 +537,14 @@ or a continuous test like `~testQuick`.
### sbt new command

You can use the sbt `new` command to quickly setup a simple "Hello world" build.
Various templates are available, including these two:

```
\$ sbt new scala/toolkit.local
\$ sbt new scala/scala3.g8
```

This will create a Scala 3 project. If you want to use Scala 2,
These will create a Scala 3 project. If you want to use Scala 2,
use this command instead:

```
Expand Down
18 changes: 12 additions & 6 deletions src/landing/_template/landing.st
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,18 @@ You just need one line of <code>build.sbt</code> to get started with Scala. Lear
<h3>sbt new</h3>
Choose from community-maintained <a href="https://github.com/search?o=desc&p=1&q=g8&s=stars&type=Repositories">Giter8 templates</a> to jump start your project:

<pre><code class="prettyprint">\$ sbt new scala/scala3.g8
\$ sbt new scala/scala-seed.g8
\$ sbt new playframework/play-scala-seed.g8
\$ sbt new akka/akka-http-quickstart-scala.g8
\$ sbt new http4s/http4s.g8
\$ sbt new holdenk/sparkProjectTemplate.g8
<pre><code class="prettyprint">\$ sbt new scala/toolkit.local # Scala Toolkit (beta) by Scala Center and VirtusLab
\$ sbt new typelevel/toolkit.local # Toolkit to start building Typelevel apps
\$ sbt new sbt/cross-platform.local # A cross-JVM/JS/Native project
\$ sbt new scala/scala3.g8 # Scala 3 seed template
\$ sbt new scala/scala-seed.g8 # Scala 2 seed template
\$ sbt new playframework/play-scala-seed.g8 # A Play project in Scala
\$ sbt new playframework/play-java-seed.g8 # A Play project in Java
\$ sbt new softwaremill/tapir.g8 # A tapir project using Netty
\$ sbt new scala-js/vite.g8 # A Scala.JS + Vite project
\$ sbt new holdenk/sparkProjectTemplate.g8 # A Scala Spark project
\$ sbt new spotify/scio.g8 # A Scio project
\$ sbt new disneystreaming/smithy4s.g8 # A Smithy4s project
</code></pre>
</div>
</div> <!-- row -->
Expand Down

0 comments on commit abfbe9a

Please sign in to comment.