my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
2.1 KiB

3 years ago
  1. # sbt plugin
  2. This plugin adds completion for the [sbt, the interactive build tool](https://scala-sbt.org/),
  3. as well as some aliases for common sbt commands.
  4. To use it, add `sbt` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... sbt)
  7. ```
  8. ## Aliases
  9. | Alias | Command | Description |
  10. |-------|-----------------------|--------------------------------------------------------------|
  11. | sbc | `sbt compile` | Compiles the main sources |
  12. | sbcln | `sbt clean` | Deletes all generated files |
  13. | sbcc | `sbt clean compile` | Deletes generated files, compiles the main sources |
  14. | sbco | `sbt console` | Starts Scala with the compiled sources and all dependencies |
  15. | sbcq | `sbt consoleQuick` | Starts Scala with all dependencies |
  16. | sbcp | `sbt consoleProject` | Starts Scala with sbt and the build definitions |
  17. | sbd | `sbt doc` | Generates API documentation for Scala source files |
  18. | sbdc | `sbt dist:clean` | Deletes the distribution packages |
  19. | sbdi | `sbt dist` | Creates the distribution packages |
  20. | sbgi | `sbt genIdea` | Create Idea project files |
  21. | sbp | `sbt publish` | Publishes artifacts to the repository |
  22. | sbpl | `sbt publishLocal` | Publishes artifacts to the local Ivy repository |
  23. | sbr | `sbt run` | Runs the main class for the project |
  24. | sbrm | `sbt runMain` | Runs the specified main class for the project |
  25. | sbu | `sbt update` | Resolves and retrieves external dependencies |
  26. | sbx | `sbt test` | Compiles and runs all tests |
  27. | sba | `sbt assembly` | Create a fat JAR with all dependencies |