top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is SBT? Explain about some basic commands of SBT tool?

+2 votes
257 views
What is SBT? Explain about some basic commands of SBT tool?
posted Jun 28, 2016 by Shivam Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SBT stands for Scala Build Tool Or Build Tool for Scala.

Like Ant, Maven and Gradle, it’s a build tool for Scala/Play/Akka based applications to automate the compile, build and deployment process.

Some useful SBT Commands here:

sbt compile
To compile all project files.

sbt test
To run and test all unit tests.

sbt run
To compile all files, run and test all unit tests and deploy application with single step.

answer Jul 7, 2016 by Karthick.c
Similar Questions
+3 votes

Which build tool is the best for Scala? What are the pros and cons of each of them? How to I determine which one of them to use in a project?

+1 vote

I just got started with Scala/LiftWeb/Sbt developing, and I'd like to develop a project using sbt.

+3 votes

How do I check which version of sbt I'm running?
I have the bash file set up that uses sbt-launch.jar, and it works, but
$ sbt version
only shows the "project version" (0.1) and
$ sbt --version
does nothing.

...