bash completion

This commit is contained in:
Casper da Costa-Luis
2019-11-23 23:53:52 +00:00
parent 8e58849f0b
commit 5f13e2215d
+4
View File
@@ -23,9 +23,13 @@ parts:
snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC && git describe --tags`
# install all optional extras
sed -ri 's/(=install_requires)/\1+all_remotes+ssh_gssapi+hdfs/' $SNAPCRAFT_PART_SRC/setup.py
override-build: |
snapcraftctl build
cp $SNAPCRAFT_PART_BUILD/scripts/completion/dvc.bash $SNAPCRAFT_PART_INSTALL/completion.sh
apps:
dvc:
command: bin/dvc
completer: completion.sh
environment:
GIT_PYTHON_GIT_EXECUTABLE: dvc.git
CI: snap # suppress update checks