mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
Support building snap packages
This commit is contained in:
parent
0ea3c71df7
commit
e6ee86930b
6
.gitignore
vendored
6
.gitignore
vendored
@ -30,3 +30,9 @@ vendor/*/
|
|||||||
tmp/
|
tmp/
|
||||||
cover/
|
cover/
|
||||||
yq
|
yq
|
||||||
|
|
||||||
|
# snapcraft
|
||||||
|
parts/
|
||||||
|
prime/
|
||||||
|
.snapcraft/
|
||||||
|
yq*.snap
|
||||||
|
24
snap/snapcraft.yaml
Normal file
24
snap/snapcraft.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: yq
|
||||||
|
version: git
|
||||||
|
summary: A lightweight and portable command-line YAML processor
|
||||||
|
description: |
|
||||||
|
The aim of the project is to be the jq or sed of yaml files.
|
||||||
|
|
||||||
|
grade: devel # must be 'stable' to release into candidate/stable channels
|
||||||
|
confinement: strict
|
||||||
|
|
||||||
|
apps:
|
||||||
|
yq:
|
||||||
|
command: yq
|
||||||
|
plugs: [home]
|
||||||
|
|
||||||
|
parts:
|
||||||
|
yq:
|
||||||
|
plugin: go
|
||||||
|
source: .
|
||||||
|
go-importpath: github.com/mikefarah/yq
|
||||||
|
#go-packages: [github.com/mikefarah/yq]
|
||||||
|
after: [go]
|
||||||
|
go:
|
||||||
|
source-tag: go1.9.4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user