-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
snapcraft.yaml
28 lines (28 loc) · 737 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: git-fame
summary: Pretty-print `git` repository collaborators sorted by contributions
description: https://github.com/casperdcl/git-fame
adopt-info: git-fame
grade: stable
confinement: strict
base: core22
license: MPL-2.0
parts:
git-fame:
plugin: python
python-packages: [pyyaml]
source: .
build-snaps:
- snapd
build-packages: [git]
stage-packages: [git]
override-build: |
craftctl default
cp $SNAPCRAFT_PART_BUILD/git-fame_completion.bash $SNAPCRAFT_PART_INSTALL/completion.sh
override-stage: |
craftctl default
craftctl set version=$(bin/python3 -m gitfame --version)
apps:
git-fame:
command: bin/git-fame
completer: completion.sh
plugs: [home]