Browse Source

Add snacraft config

This allows the easy generation of snaps as requested in #227.

This commit does not add automatic generation and publication of snaps
to the Snap Store, but they can easily be generated for local/personal
use by

```
snapcraft
sudo snap install gutenberg_xxx.snap
```

Add directories with snapcraft artifacts to `.gitignore`.
index-subcmd
Nathan Musoke 6 years ago
parent
commit
dca593ce13
2 changed files with 27 additions and 0 deletions
  1. +6
    -0
      .gitignore
  2. +21
    -0
      snap/snapcraft.yaml

+ 6
- 0
.gitignore View File

@@ -13,3 +13,9 @@ huge-kb


current.bench current.bench
now.bench now.bench

# snapcraft artifacts
snap/.snapcraft
parts
prime
stage

+ 21
- 0
snap/snapcraft.yaml View File

@@ -0,0 +1,21 @@
name: gutenberg # you probably want to 'snapcraft register <name>'
version: '0.3.3+git' # just for humans, typically '1.2+git' or '1.3.2'
summary: A fast static site generator in a single binary with everything built-in.
description: |
A fast static site generator in a single binary with everything built-in.
https://www.getgutenberg.io

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

apps:
gutenberg:
command: gutenberg
plugs:
- network
- network-bind

parts:
gutenberg:
plugin: rust
rust-channel: stable

Loading…
Cancel
Save