diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 000000000..b26de9c65 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,22 @@ +name: hugo +version: "v0.17-DEV" +summary: Fast and Flexible Static Site Generator +description: | + Hugo is a static HTML and CSS website generator written in Go. It is + optimized for speed, easy use and configurability. Hugo takes a directory + with content and templates and renders them into a full HTML website. +confinement: strict +grade: devel # use "stable" to assert the snap quality + +apps: + hugo: + command: bin/hugo + plugs: [home] + +parts: + hugo: + source: . + plugin: go + go-importpath: "github.com/spf13/hugo" + build-packages: + - git