sbt in Action
- 4h 13m
- Josh Suereth, Matthew Farwell
- Manning Publications
- 2016
Summary
A tutorial about effectively building Scala projects, sbt in Action introduces the sbt tool with a simple project that establishes the fundamentals of running commands and tasks. Next, it shows you how to use the peripheral libraries in sbt to make common tasks simpler. Finally, it covers how to deploy software effectively. You'll learn to appreciate how sbt improves the process of developing software, not just running builds.
About the Technology
sbt is a build tool native to Scala that can transform any build scenario into a streamlined, automated, and repeatable process. Its interactive shell lets you customize your builds on the fly, and with sbt's unique incremental compilation feature, you can update only the parts of your project that change, without having to rebuild everything. Mastering sbt, along with the right patterns and best practices, is guaranteed to save you time and trouble on every project.
About the Book
sbt in Action, first and foremost, teaches you how to build Scala projects effectively. It introduces the sbt tool with a simple project that establishes the fundamentals of running commands and tasks. Next, it shows you how to use the peripheral libraries in sbt to make common tasks simpler. Along the way, you'll work through real projects that demonstrate how to build and deploy your projects regardless of development methodology or process.
What's Inside
- Master sbt's loosely coupled libraries
- Effectively manage dependencies
- Automate and simplify your builds
- Customize builds and tasks
About the Reader
Readers should be comfortable reading Scala code. No experience with sbt required.
In this Book
-
About This Book
-
Why sbt?
-
Getting Started
-
Core Concepts
-
The Default Build
-
Testing
-
The IO and Process Libraries
-
Accepting User Input
-
Using Plugins and External Libraries
-
Debugging Your Build
-
Automating Workflows with Commands
-
Defining a Plugin
-
Distributing Your Projects