-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
47 lines (34 loc) · 1.06 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
42
43
44
45
46
47
name: bak9
version: git
summary: Creates a backup bak copy of a file
description: |
bak [OPTIONS] FILE [DIR] [COMMAND]
Creates a backup .bak copy of FILE.
If DIR is not specified, the copy is created in the same directory as FILE.
If DIR is specified as -, or if the user lacks permissions to copy to DIR, the user's app data directory will be used instead.
If multiple backups of FILE exist, the rotating filename extension used will be: .bak.N
The most recent rotating backup will always be: .bak.0
Pruning of rotating backups occurs after -n NUM copies.
If the current backup is no different than its predecessor, copying will be skipped.
Additional COMMANDs may be appended to list, compare, or delete backups.
base: core24
confinement: classic
platforms:
amd64:
build-on: amd64
build-for: amd64
arm64:
build-on: [amd64, arm64]
build-for: [arm64]
armhf:
build-on: [amd64, armhf]
build-for: [armhf]
parts:
bak9:
plugin: rust
source: .
build-attributes:
- enable-patchelf
apps:
bak9:
command: bin/bak