1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-27 14:51:58 +00:00
ohmyzsh/plugins/sbt
2018-10-17 19:42:57 +02:00
..
_sbt Update sbt to add publish-local to commands (#3112) 2018-06-15 21:04:25 +02:00
README.md sbt: add README (#7294) 2018-10-17 19:42:57 +02:00
sbt.plugin.zsh Updating 'sbcl' to 'sbcln' (#7095) 2018-08-29 15:15:11 +02: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 console-quick Starts Scala with all dependencies
sbcp sbt console-project 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 gen-idea Create Idea project files
sbp sbt publish Publishes artifacts to the repository
sbpl sbt publish-local Publishes artifacts to the local Ivy repository
sbr sbt run Runs the main class for the project
sbrm sbt run-main 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