-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
33 lines (32 loc) · 781 Bytes
/
Taskfile.yml
File metadata and controls
33 lines (32 loc) · 781 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
---
version: 3
env:
SNAPCRAFT_BUILD_ENVIRONMENT: multipass
tasks:
setup:
desc: Setup build environment
cmds:
- sudo snap install snapcraft --classic
- sudo snap install multipass
build:
aliases: [pack]
desc: Build snap package
cmds:
- snapcraft pack
extract:
desc: Extract snap for debugging
cmds:
- unsquashfs -d snap-root feishin_*.snap
clean:
desc: Clean build and debug artifacts
cmds:
- rm -rf snap-root feishin_*.snap
install:
desc: Install snap on local system
cmds:
- sudo snap install --dangerous feishin_*.snap
- sudo snap connect feishin:password-manager-service
uninstall:
desc: Uninstall snap from local system
cmds:
- sudo snap remove --purge feishin