mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-04 11:25:37 +00:00
Merge 19c6d9d12d into e95bb7e472
This commit is contained in:
commit
f0d4eed330
@ -7,24 +7,16 @@ base: core24
|
|||||||
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
|
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
|
||||||
confinement: strict
|
confinement: strict
|
||||||
platforms:
|
platforms:
|
||||||
|
# we dont need to specify the build-on/for unless we're cross-compiling.
|
||||||
amd64:
|
amd64:
|
||||||
build-on: [amd64]
|
|
||||||
build-for: [amd64]
|
|
||||||
arm64:
|
arm64:
|
||||||
build-on: [arm64]
|
|
||||||
build-for: [arm64]
|
|
||||||
armhf:
|
armhf:
|
||||||
build-on: [armhf]
|
|
||||||
build-for: [armhf]
|
|
||||||
s390x:
|
s390x:
|
||||||
build-on: [s390x]
|
|
||||||
build-for: [s390x]
|
|
||||||
ppc64el:
|
ppc64el:
|
||||||
build-on: [ppc64el]
|
|
||||||
build-for: [ppc64el]
|
|
||||||
apps:
|
apps:
|
||||||
yq:
|
yq:
|
||||||
command: bin/yq
|
command: bin/yq
|
||||||
|
completer: bin/yq-completion.bash
|
||||||
plugs: [home, removable-media]
|
plugs: [home, removable-media]
|
||||||
parts:
|
parts:
|
||||||
yq:
|
yq:
|
||||||
@ -32,6 +24,12 @@ parts:
|
|||||||
build-environment:
|
build-environment:
|
||||||
- CGO_ENABLED: 0
|
- CGO_ENABLED: 0
|
||||||
source: https://github.com/mikefarah/yq.git
|
source: https://github.com/mikefarah/yq.git
|
||||||
|
source-type: git
|
||||||
source-tag: v4.53.3
|
source-tag: v4.53.3
|
||||||
|
source-depth: 1 # faster clone
|
||||||
build-snaps:
|
build-snaps:
|
||||||
- go/latest/stable
|
- go/latest/stable
|
||||||
|
override-build: |
|
||||||
|
craftctl default
|
||||||
|
# generate the bash completion file
|
||||||
|
$CRAFT_PART_INSTALL/bin/yq shell-completion bash > $CRAFT_PART_INSTALL/bin/yq-completion.bash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user