-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
42 lines (37 loc) · 1.05 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ifacetool
summary: tooling to work with snap interfaces
description: |
ifacetool provides tooling to work with snap interfaces, in
particular their policies as realized via snap-declarations.
One central feature of ifacetool is simulating what snapd will
do in terms of auto-connections for a group of snaps given snap
metadata and snap-declaration content.
license: GPL-3.0
base: core20
grade: stable
confinement: strict
adopt-info: ifacetool
apps:
ifacetool:
command: bin/ifacetool
plugs: [password-manager-service, home, network]
parts:
ifacetool:
plugin: python
source: .
stage-packages:
- squashfs-tools
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(cat VERSION)-$(cat SNAPD_VERSION)"
engine:
plugin: nil
source: .
build-snaps:
- go/1.18/stable
override-build: |
go build -o ifacetool-engine ./engine
mkdir $SNAPCRAFT_PART_INSTALL/bin
cp -a ifacetool-engine $SNAPCRAFT_PART_INSTALL/bin/ifacetool-engine
prime:
- bin/ifacetool-engine