Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b834af66
Commit
b834af66
authored
Oct 17, 2018
by
Marco Zühlke
Committed by
Marc Cornellà
Oct 17, 2018
Browse files
sbt: add README (#7294)
parent
0871594f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/sbt/README.md
0 → 100644
View file @
b834af66
# 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 |
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment