Back to Ohmyzsh

sbt plugin

plugins/sbt/README.md

latest2.1 KB
Original Source

sbt plugin

This plugin adds completion for the sbt, the interactive build tool, as well as some aliases for common sbt commands.

To use it, add sbt to the plugins array in your zshrc file:

zsh
plugins=(... sbt)

Aliases

AliasCommandDescription
sbcsbt compileCompiles the main sources
sbclnsbt cleanDeletes all generated files
sbccsbt clean compileDeletes generated files, compiles the main sources
sbcosbt consoleStarts Scala with the compiled sources and all dependencies
sbcqsbt consoleQuickStarts Scala with all dependencies
sbcpsbt consoleProjectStarts Scala with sbt and the build definitions
sbdsbt docGenerates API documentation for Scala source files
sbdcsbt dist:cleanDeletes the distribution packages
sbdisbt distCreates the distribution packages
sbgisbt genIdeaCreate Idea project files
sbpsbt publishPublishes artifacts to the repository
sbplsbt publishLocalPublishes artifacts to the local Ivy repository
sbrsbt runRuns the main class for the project
sbrmsbt runMainRuns the specified main class for the project
sbusbt updateResolves and retrieves external dependencies
sbxsbt testCompiles and runs all tests
sbasbt assemblyCreate a fat JAR with all dependencies