浏览代码

maven plugin

Fredrik Appelberg 14 年之前
父节点
当前提交
d02a3912cf
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      plugins/mvn/mvn.plugin.zsh

+ 6 - 0
plugins/mvn/mvn.plugin.zsh

@@ -0,0 +1,6 @@
+function listMavenCompletions { 
+	 reply=(
+		cli:execute cli:execute-phase archetype:generate compile clean install test test-compile deploy package cobertura:cobertura jetty:run gwt:run gwt:debug -DskipTests -Dmaven.test.skip=true -DarchetypeCatalog=http://tapestry.formos.com/maven-snapshot-repository -Dtest= `if [ -d ./src ] ; then find ./src -type f | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`); 
+}
+
+compctl -K listMavenCompletions mvn