aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach/bash-completion.sh
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-05-02 18:07:43 -0400
committerCorey Farwell <coreyf@rwell.org>2016-05-02 19:27:52 -0400
commit7725e644e94df722ca20ddc95f7aafe1ba19abae (patch)
tree32a236c060fd5a2672a17c8e6e376aab1c842751 /python/mach/bash-completion.sh
parenta8e82440ff5ba790e40b4e6437e9882b4f4619c4 (diff)
downloadservo-7725e644e94df722ca20ddc95f7aafe1ba19abae.tar.gz
servo-7725e644e94df722ca20ddc95f7aafe1ba19abae.zip
Upgrade mach to 0.6; stop vendoring mach.
When I originally rewrote Servo's mach bootstrapping (using virtualenv w/ requirements.txt in #7103), I didn't specify mach as a requirement because a new version hadn't been published in a while. Now that 0.6 is out, I asked the mach maintainers to publish a new version on PyPI, so now we can fetch it like the other Python dependencies. Fixes https://github.com/servo/servo/issues/10728.
Diffstat (limited to 'python/mach/bash-completion.sh')
-rw-r--r--python/mach/bash-completion.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/python/mach/bash-completion.sh b/python/mach/bash-completion.sh
deleted file mode 100644
index e4b151f24c9..00000000000
--- a/python/mach/bash-completion.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-function _mach()
-{
- local cur cmds c subcommand
- COMPREPLY=()
-
- # Load the list of commands
- cmds=`"${COMP_WORDS[0]}" mach-commands`
-
- # Look for the subcommand.
- cur="${COMP_WORDS[COMP_CWORD]}"
- subcommand=""
- c=1
- while [ $c -lt $COMP_CWORD ]; do
- word="${COMP_WORDS[c]}"
- for cmd in $cmds; do
- if [ "$cmd" = "$word" ]; then
- subcommand="$word"
- fi
- done
- c=$((++c))
- done
-
- if [[ "$subcommand" == "help" || -z "$subcommand" ]]; then
- COMPREPLY=( $(compgen -W "$cmds" -- ${cur}) )
- fi
-
- return 0
-}
-complete -o default -F _mach mach