-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
32 lines (32 loc) · 878 Bytes
/
Copy pathsnapcraft.yaml
File metadata and controls
32 lines (32 loc) · 878 Bytes
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
29
30
31
32
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: core24
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
$CRAFT_PART_INSTALL/bin/git-fame --print-completion bash > $CRAFT_PART_INSTALL/completion.sh
override-stage: |
craftctl default
craftctl set version=$(bin/git-fame --version)
apps:
git-fame:
command: bin/git-fame
completer: completion.sh
plugs: [home]
environment:
GIT_EXEC_PATH: $SNAP/libexec/git-core
GIT_TEMPLATE_DIR: $SNAP/usr/share/git-core/templates
GIT_CONFIG_NOSYSTEM: "true"