Written by Dave Gurnell and Noel Welsh. Copyright Underscore Consulting LLP, 2015-2017.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Essential Scala is an introduction to Scala for professional developers. Essential Scala covers the core Scala patterns that new developers need to be productive in the language. It's designed to get you productive as quickly as possible, and avoid the dark and confusing corners of the language.
Essential Scala uses Underscore's ebook build system.
The simplest way to build the book is to use Docker Compose:
- install Docker Compose (
brew install docker-compose
on OS X; or download from docker.com); and - run
go.sh
(ordocker-compose run book bash
ifgo.sh
doesn't work).
This will open a bash
shell running inside the Docker container which contains all the dependencies to build the book. From the shell run:
npm install
; and thensbt
.
Within sbt
you can issue the commands pdf
, html
, epub
, or all
to build the desired version(s) of the book. Targets are placed in the dist
directory: