add snap completion

This commit is contained in:
Casper da Costa-Luis 2020-04-25 19:31:52 +01:00
parent 8d0e68350a
commit 5cae7edcd9
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ parts:
source: {source}
source-commit: '{commit}'
parse-info: [setup.py]
override-build: |
snapcraftctl build
cp $SNAPCRAFT_PART_BUILD/tqdm/completion.sh $SNAPCRAFT_PART_INSTALL/
apps:
tqdm:
command: bin/tqdm
completer: completion.sh