mirror of
https://gitee.com/mirrors_adrian-thurston/yq.git
synced 2026-01-15 07:53:35 +08:00
Support building snap packages
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user