Skip to content

Commit 24f3f54

Browse files
authored
Merge pull request #23 from popey/add-snapcraft
Add support for building a snap
2 parents 2019147 + 5a6f04d commit 24f3f54

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

snap/snapcraft.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: onefetch
2+
base: core18 # the base snap is the execution environment for this snap
3+
adopt-info: onefetch
4+
summary: Neofetch for your source code
5+
description: |
6+
Onefetch is a command-line system information tool that displays information
7+
about your Source Code directly on your terminal..
8+
9+
grade: stable
10+
confinement: strict
11+
12+
parts:
13+
onefetch:
14+
plugin: rust
15+
source: .
16+
stage-packages:
17+
- git
18+
override-build: |
19+
snapcraftctl build
20+
snapcraftctl set-version $(git describe --tags)
21+
22+
apps:
23+
onefetch:
24+
command: bin/onefetch
25+
plugs:
26+
- home
27+
- removable-media

0 commit comments

Comments
 (0)