question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sbt new scala.local

See original GitHub issue

This is a proposal related to https://github.com/sbt/sbt/issues/2668 and https://github.com/sbt/sbt-launcher-package/pull/217.

steps

  1. sbt new or sbt init

expectation

Displays:

Welcome to sbt new!

  Select `1` to create a build in the current directory.
  To use an online template, select `q` to quit, and rerun
  sbt new playframework/play-scala-seed.g8

1) scala.local: Scala program
q) quit

I type:

1

This creates a new build similar to https://github.com/scala/scala-seed.g8 and start sbt shell inside it.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
dwijnandcommented, Mar 16, 2018
  1. I think it’s better than a magic “scala.local” argument
  2. there’s a few precedents in other tools, probably git init is the most well known
0reactions
kotobotovcommented, Oct 29, 2019

it would be awersome to to have list of some popular/basic online template, when i wrote “sbt new” without any argument.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sbt Reference Manual — Local Scala
To use a locally built Scala version, define the scalaHome setting, which is of type Option[File] . This Scala version will only be...
Read more >
Getting Started with Scala and sbt on the Command Line
Run the following command sbt new scala/scala3.g8 . This pulls the 'scala3' template from GitHub. It will also create a target folder, which...
Read more >
Building a Scala Project with IntelliJ and sbt
In this tutorial, we'll see how to build a Scala project using sbt. sbt is a popular tool for compiling, running, and testing...
Read more >
Building and Testing Scala Projects with sbt | Scala 3 — Book
This section looks at a commonly-used build tool, sbt, and a testing ... One way is to use the sbt new command, which...
Read more >
Testing Scala with sbt and ScalaTest on the Command Line
On the command line, create a new directory somewhere. cd into the directory and run sbt new scala/scalatest-example.g8; Name the project ScalaTestTutorial ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found