update lein

This commit is contained in:
Sergey R 2015-10-23 20:21:40 +03:00 committed by chico
parent e44aa50301
commit afed51e3d5

View File

@ -5,32 +5,38 @@ function _lein_commands() {
case $state in case $state in
subcommand) subcommand)
subcommands=( subcommands=(
"classpath:print the classpath of the current project" "change:Rewrite project.clj by applying a function."
"clean:remove compiled files and dependencies from project" "check:Check syntax and warn on reflection."
"compile:ahead-of-time compile the project" "classpath:Print the classpath of the current project."
"deploy:build jar and deploy to remote repository" "clean:Remove all files from project's target-path."
"deps:download and install all dependencies" "cljsbuild:Compile ClojureScript source into a JavaScript file."
"help:display a list of tasks or help for a given task" "compile:Compile Clojure source into .class files."
"install:install the project and its dependencies in your local repository" "deploy:Build and deploy jar to remote repository."
"int:enter an interactive task shell" "deps:Download all dependencies."
"interactive:enter an interactive task shell" "do:Higher-order task to perform other tasks in succession."
"jack-in:jack in to a clojure slime session from emacs." "figwheel:Autocompile ClojureScript and serve the changes over a websocket (+ plus static file server)."
"jar:create a jar file containing the compiled .class files" "help:Display a list of tasks or help for a given task."
"javac:compile java source files" "install:Install the current project to the local repository."
"new:create a new project skeleton" "jar:Package up all the project's files into a jar file."
"plugin:manage user-level plugins" "javac:Compile Java source files."
"pom:write a pom.xml file to disk for maven interop" "minify-assets"
"repl:start a repl session either with the current project or standalone" "new:Generate project scaffolding based on a template."
"retest:run only the test namespaces which failed last time around" "plugin:DEPRECATED. Please use the :user profile instead."
"run:run the project's -main function" "pom:Write a pom.xml file to disk for Maven interoperability."
"search:search remote maven repositories for matching jars" "release:Perform :release-tasks."
"swank:launch swank server for Emacs to connect" "repl:Start a repl session either with the current project or standalone."
"test:run the project's tests" "retest:Run only the test namespaces which failed last time around."
"test!:run a project's tests after cleaning and fetching dependencies" "run:Run a -main function with optional command-line arguments."
"trampoline:run a task without nesting the project's JVM inside Leiningen's." "search:Search remote maven repositories for matching jars."
"uberjar:Create a jar including the contents of each of deps" "show-profiles:List all available profiles or display one if given an argument."
"upgrade:upgrade leiningen to the latest stable release" "test:Run the project's tests."
"version:print leiningen's version" "trampoline:Run a task without nesting the project's JVM inside Leiningen's."
"uberjar:Package up the project files and dependencies into a jar file."
"update-in:Perform arbitrary transformations on your project map."
"upgrade:Upgrade Leiningen to specified version or latest stable."
"vcs:Interact with the version control system."
"version:Print version for Leiningen and the current JVM."
"with-profile:Apply the given task with the profile(s) specified."
) )
_describe -t subcommands 'leiningen subcommands' subcommands && ret=0 _describe -t subcommands 'leiningen subcommands' subcommands && ret=0
esac esac