Browse Source

move snap to .gitignore

pull/285/head
o2sh 5 years ago
parent
commit
c6908bdc38
  1. 2
      .gitignore
  2. 27
      snap/snapcraft.yaml

2
.gitignore vendored

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
/target
**/*.rs.bk
/stage
/snap/.snapcraft
/snap/snapcraft.yaml
*.snap
/parts
/prime

27
snap/snapcraft.yaml

@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
name: onefetch
base: core18 # the base snap is the execution environment for this snap
adopt-info: onefetch
summary: Git repository summary on your terminal
description: |
Onefetch is a command-line system information tool that displays information
about your Git repository directly on your terminal.
grade: stable
confinement: strict
parts:
onefetch:
plugin: rust
source: .
stage-packages:
- git
override-build: |
snapcraftctl build
snapcraftctl set-version $(git describe --abbrev=0 --tags)
apps:
onefetch:
command: bin/onefetch
plugs:
- home
- removable-media
Loading…
Cancel
Save