add snapcraft.yaml file #2443

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+22 −0
Split
View
@@ -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