From 5cae7edcd9c68cbd5b1fd7243254553f4a318f15 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 25 Apr 2020 19:31:52 +0100 Subject: [PATCH] add snap completion --- .meta/.snapcraft.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.meta/.snapcraft.yml b/.meta/.snapcraft.yml index 1db7473a..bb173804 100644 --- a/.meta/.snapcraft.yml +++ b/.meta/.snapcraft.yml @@ -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