mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
sbt: use new sbt command naming convention (#8426)
This commit is contained in:
parent
6390afd6de
commit
16154453ea
3 changed files with 20 additions and 20 deletions
|
@ -17,16 +17,16 @@ plugins=(... sbt)
|
||||||
| sbcln | `sbt clean` | Deletes all generated files |
|
| sbcln | `sbt clean` | Deletes all generated files |
|
||||||
| sbcc | `sbt clean compile` | Deletes generated files, compiles the main sources |
|
| sbcc | `sbt clean compile` | Deletes generated files, compiles the main sources |
|
||||||
| sbco | `sbt console` | Starts Scala with the compiled sources and all dependencies |
|
| sbco | `sbt console` | Starts Scala with the compiled sources and all dependencies |
|
||||||
| sbcq | `sbt console-quick` | Starts Scala with all dependencies |
|
| sbcq | `sbt consoleQuick` | Starts Scala with all dependencies |
|
||||||
| sbcp | `sbt console-project` | Starts Scala with sbt and the build definitions |
|
| sbcp | `sbt consoleProject` | Starts Scala with sbt and the build definitions |
|
||||||
| sbd | `sbt doc` | Generates API documentation for Scala source files |
|
| sbd | `sbt doc` | Generates API documentation for Scala source files |
|
||||||
| sbdc | `sbt dist:clean` | Deletes the distribution packages |
|
| sbdc | `sbt dist:clean` | Deletes the distribution packages |
|
||||||
| sbdi | `sbt dist` | Creates the distribution packages |
|
| sbdi | `sbt dist` | Creates the distribution packages |
|
||||||
| sbgi | `sbt gen-idea` | Create Idea project files |
|
| sbgi | `sbt genIdea` | Create Idea project files |
|
||||||
| sbp | `sbt publish` | Publishes artifacts to the repository |
|
| sbp | `sbt publish` | Publishes artifacts to the repository |
|
||||||
| sbpl | `sbt publish-local` | Publishes artifacts to the local Ivy repository |
|
| sbpl | `sbt publishLocal` | Publishes artifacts to the local Ivy repository |
|
||||||
| sbr | `sbt run` | Runs the main class for the project |
|
| sbr | `sbt run` | Runs the main class for the project |
|
||||||
| sbrm | `sbt run-main` | Runs the specified main class for the project |
|
| sbrm | `sbt runMain` | Runs the specified main class for the project |
|
||||||
| sbu | `sbt update` | Resolves and retrieves external dependencies |
|
| sbu | `sbt update` | Resolves and retrieves external dependencies |
|
||||||
| sbx | `sbt test` | Compiles and runs all tests |
|
| sbx | `sbt test` | Compiles and runs all tests |
|
||||||
| sba | `sbt assembly` | Create a fat JAR with all dependencies |
|
| sba | `sbt assembly` | Create a fat JAR with all dependencies |
|
||||||
|
|
|
@ -6,23 +6,23 @@ _sbt_commands=(
|
||||||
'clean:delete files produced by the build'
|
'clean:delete files produced by the build'
|
||||||
'compile:compile sources'
|
'compile:compile sources'
|
||||||
'console:start the Scala REPL with project classes on the classpath'
|
'console:start the Scala REPL with project classes on the classpath'
|
||||||
'console-quick:start the Scala REPL with project deps on the classpath'
|
'consoleQuick:start the Scala REPL with project deps on the classpath'
|
||||||
'console-project:start the Scala REPL w/sbt+build-def on the classpath'
|
'consoleProject:start the Scala REPL w/sbt+build-def on the classpath'
|
||||||
'dist:generate distribution artifacts'
|
'dist:generate distribution artifacts'
|
||||||
'dist\:clean:clean distribution artifacts'
|
'dist\:clean:clean distribution artifacts'
|
||||||
'doc:generate API documentation'
|
'doc:generate API documentation'
|
||||||
'gen-idea:generate Intellij Idea project files'
|
'genIdea:generate Intellij Idea project files'
|
||||||
'package:produce the main artifact, such as a binary jar'
|
'package:produce the main artifact, such as a binary jar'
|
||||||
'package-doc:produce a doc artifact, such as a jar containing API docs'
|
'packageDoc:produce a doc artifact, such as a jar containing API docs'
|
||||||
'package-src:produce a source artifact, such as a jar containing sources'
|
'packageSrc:produce a source artifact, such as a jar containing sources'
|
||||||
'publish:publish artifacts to a repository'
|
'publish:publish artifacts to a repository'
|
||||||
'publish-local:publish artifacts to the local repository'
|
'publishLocal:publish artifacts to the local repository'
|
||||||
'publish-m2:publish artifacts to the local Maven 2 repository'
|
'publishM2:publish artifacts to the local Maven 2 repository'
|
||||||
'run:run a main class'
|
'run:run a main class'
|
||||||
'run-main:run the main class selected by the first argument'
|
'runMain:run the main class selected by the first argument'
|
||||||
'test:execute all tests'
|
'test:execute all tests'
|
||||||
'test-only:execute the tests provided as arguments'
|
'testOnly:execute the tests provided as arguments'
|
||||||
'test-quick:execute previously failed tests'
|
'testQuick:execute previously failed tests'
|
||||||
'update:resolve and optionally retrieve dependencies'
|
'update:resolve and optionally retrieve dependencies'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -9,17 +9,17 @@
|
||||||
alias sbc='sbt compile'
|
alias sbc='sbt compile'
|
||||||
alias sbcc='sbt clean compile'
|
alias sbcc='sbt clean compile'
|
||||||
alias sbco='sbt console'
|
alias sbco='sbt console'
|
||||||
alias sbcq='sbt console-quick'
|
alias sbcq='sbt consoleQuick'
|
||||||
alias sbcln='sbt clean'
|
alias sbcln='sbt clean'
|
||||||
alias sbcp='sbt console-project'
|
alias sbcp='sbt consoleProject'
|
||||||
alias sbd='sbt doc'
|
alias sbd='sbt doc'
|
||||||
alias sbdc='sbt dist:clean'
|
alias sbdc='sbt dist:clean'
|
||||||
alias sbdi='sbt dist'
|
alias sbdi='sbt dist'
|
||||||
alias sbgi='sbt gen-idea'
|
alias sbgi='sbt genIdea'
|
||||||
alias sbp='sbt publish'
|
alias sbp='sbt publish'
|
||||||
alias sbpl='sbt publish-local'
|
alias sbpl='sbt publishLocal'
|
||||||
alias sbr='sbt run'
|
alias sbr='sbt run'
|
||||||
alias sbrm='sbt run-main'
|
alias sbrm='sbt runMain'
|
||||||
alias sbu='sbt update'
|
alias sbu='sbt update'
|
||||||
alias sbx='sbt test'
|
alias sbx='sbt test'
|
||||||
alias sba='sbt assembly'
|
alias sba='sbt assembly'
|
||||||
|
|
Loading…
Reference in a new issue