diff options
| author | nicoulaj <julien.nicoulaud@gmail.com> | 2016-02-04 21:34:12 +0100 |
|---|---|---|
| committer | nicoulaj <julien.nicoulaud@gmail.com> | 2016-02-04 21:34:12 +0100 |
| commit | 3b08409a77c2ca9116a831fccf4616141b590d56 (patch) | |
| tree | b5f56095e608d400c85965c249386093f597ce68 /src/_mvn | |
| parent | Merge pull request #284 from lineinthesand/patch-1 (diff) | |
| parent | add tycho.mode=maven support (diff) | |
| download | zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar.gz zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar.bz2 zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar.lz zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar.xz zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.tar.zst zsh-completions-3b08409a77c2ca9116a831fccf4616141b590d56.zip | |
Merge pull request #287 from maxandersen/mvntychomodes
add tycho.mode=maven support
Diffstat (limited to 'src/_mvn')
| -rw-r--r-- | src/_mvn | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -430,6 +430,7 @@ _mvn_common_property_names() { 'skipTests:skip tests execution' 'maven.test.skip:skip tests compilation and execution' 'gpg.passphrase:gpg passphrase' + 'tycho.mode:enable maven mode for Tycho projects to disable p2 resolution' ) _describe -t 'common-property-names' 'common property name' properties $@ } @@ -473,6 +474,7 @@ _mvn_property_values() { ((#i)*(createChecksum|generatePom|maven.test.skip)*) _wanted booleans expl 'boolean' _mvn_booleans && ret=0;; ((#i)*user*) _wanted users expl 'user' _users && ret=0;; # TODO Use _alternative and add repository usernames from settings + projects ((#i)*plugin*) _wanted plugin expl 'plugin' _mvn_plugins && ret=0;; + ((#i)*tycho.mode*) _wanted tychomodes expl 'tychomode' _mvn_tycho_modes && ret=0;; (*) _default && ret=0;; esac return ret @@ -546,6 +548,14 @@ _mvn_booleans() { } +(( $+functions[_mvn_tycho_modes] )) || +_mvn_tycho_modes() { + local tychomodes; tychomodes=( + 'maven:maven mode, Tycho will not do any p2 dependency resolution' + ) + _describe -t tychomodes 'boolean' tychomodes +} + # ------------------------------------------------------------------------------ # Helper functions # ------------------------------------------------------------------------------ |
