Merge pull request #113 from dakrone/master
Update leiningen completions
This commit is contained in:
		
						commit
						f7c0f031ca
					
				
							
								
								
									
										39
									
								
								src/_lein
								
								
								
								
							
							
						
						
									
										39
									
								
								src/_lein
								
								
								
								
							|  | @ -15,25 +15,38 @@ | |||
| # | ||||
| # ------------------------------------------------------------------------------ | ||||
| 
 | ||||
| 
 | ||||
| local ret=1 state | ||||
| _arguments ':subcommand:->subcommand' && ret=0 | ||||
| 
 | ||||
| case $state in | ||||
|   subcommand) | ||||
|     subcommands=( | ||||
|       "clean:remove compiled files and dependencies from project" | ||||
|       "compile:ahead-of-time compile the project" | ||||
|       "deps:download and install all dependencies" | ||||
|       "help:display a list of tasks or help for a given task" | ||||
|       "install:install the project and its dependencies in your local repository" | ||||
|       "jar:create a jar file containing the compiled .class files" | ||||
|       "new:create a new project skeleton" | ||||
|       "pom:write a pom.xml file to disk for maven interop" | ||||
|       "test:run the project's tests" | ||||
|       "uberjar:Create a jar including the contents of each of deps" | ||||
|       "upgrade:upgrade leiningen to the latest stable release" | ||||
|       "version:print leiningen's version" | ||||
|       "check:Check syntax and warn on reflection." | ||||
|       "classpath:Print the classpath of the current project." | ||||
|       "clean:Remove all files from project's target-path." | ||||
|       "compile:Compile Clojure source into .class files." | ||||
|       "deploy:Build and deploy jar to remote repository." | ||||
|       "deps:Download all dependencies." | ||||
|       "do:Higher-order task to perform other tasks in succession." | ||||
|       "help:Display a list of tasks or help for a given task." | ||||
|       "install:Install the current project to the local repository." | ||||
|       "jack-in:Jack in to a Clojure SLIME session from Emacs." | ||||
|       "jar:Package up all the project's files into a jar file." | ||||
|       "javac:Compile Java source files." | ||||
|       "new:Generate project scaffolding based on a template." | ||||
|       "pom:Write a pom.xml file to disk for Maven interoperability." | ||||
|       "pprint:Pretty-print a representation of the project map." | ||||
|       "repl:Start a repl session either with the current project or standalone." | ||||
|       "retest:Run only the test namespaces which failed last time around." | ||||
|       "run:Run a -main function with optional command-line arguments." | ||||
|       "search:Search remote maven repositories for matching jars." | ||||
|       "show-profiles:List all available profiles or display one if given an argument." | ||||
|       "test:Run the project's tests." | ||||
|       "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." | ||||
|       "upgrade:Upgrade Leiningen to specified version or latest stable." | ||||
|       "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 | ||||
| esac | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue