diff options
| author | Marco Zühlke <mzuehlke@gmail.com> | 2018-10-17 19:42:57 +0200 | 
|---|---|---|
| committer | Marc Cornellà <marc.cornella@live.com> | 2018-10-17 19:42:57 +0200 | 
| commit | b834af66bd0650300740144b1dc277746c7ca6e0 (patch) | |
| tree | 223462be7b91373db8a554dc98d876cdc1034fda /plugins/sbt | |
| parent | 0871594f58301df6dc08a365b2582c850638af2f (diff) | |
| download | zsh-b834af66bd0650300740144b1dc277746c7ca6e0.tar.gz zsh-b834af66bd0650300740144b1dc277746c7ca6e0.tar.bz2 zsh-b834af66bd0650300740144b1dc277746c7ca6e0.zip | |
sbt: add README (#7294)
Diffstat (limited to 'plugins/sbt')
| -rw-r--r-- | plugins/sbt/README.md | 32 | 
1 files changed, 32 insertions, 0 deletions
| diff --git a/plugins/sbt/README.md b/plugins/sbt/README.md new file mode 100644 index 000000000..f1a5753b9 --- /dev/null +++ b/plugins/sbt/README.md @@ -0,0 +1,32 @@ +# sbt plugin + +This plugin adds completion for the [sbt, the interactive build tool](https://scala-sbt.org/), +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 + +| 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                       | | 
