1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-30 16:21:59 +00:00
ohmyzsh/plugins/sbt
2019-11-28 17:40:34 +01:00
..
_sbt sbt: use new sbt command naming convention (#8426) 2019-11-28 17:40:34 +01:00
README.md sbt: use new sbt command naming convention (#8426) 2019-11-28 17:40:34 +01:00
sbt.plugin.zsh sbt: use new sbt command naming convention (#8426) 2019-11-28 17:40:34 +01:00

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:

plugins=(... sbt)

Aliases

Alias Command Description
sbc sbt compile Compiles the main sources
sbcln sbt clean Deletes all generated files
sbcc sbt clean compile Deletes generated files, compiles the main sources
sbco sbt console Starts Scala with the compiled sources and all dependencies
sbcq sbt consoleQuick Starts Scala with all dependencies
sbcp sbt consoleProject Starts Scala with sbt and the build definitions
sbd sbt doc Generates API documentation for Scala source files
sbdc sbt dist:clean Deletes the distribution packages
sbdi sbt dist Creates the distribution packages
sbgi sbt genIdea Create Idea project files
sbp sbt publish Publishes artifacts to the repository
sbpl sbt publishLocal Publishes artifacts to the local Ivy repository
sbr sbt run Runs the main class for the project
sbrm sbt runMain Runs the specified main class for the project
sbu sbt update Resolves and retrieves external dependencies
sbx sbt test Compiles and runs all tests
sba sbt assembly Create a fat JAR with all dependencies