File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'egctl'
2+ pkgname=egctl
3+ version=1.8.0
4+ revision=1
5+ build_style=go
6+ go_import_path="github.com/envoyproxy/gateway"
7+ go_package="${go_import_path}/cmd/egctl"
8+ go_build_tags="exclude_graphdriver_btrfs"
9+ short_desc="Command-line utility for operating Envoy Gateway"
10+ maintainer="Aaron Duxler <aaron@duxler.at>"
11+ license="Apache-2.0"
12+ homepage="https://gateway.envoyproxy.io/"
13+ distfiles="https://github.com/envoyproxy/gateway/archive/v${version}.tar.gz"
14+ checksum=3b00403aa99eda90cc4d1194648640a71aff416a9447eae983278b0df04948e0
15+
16+ post_build() {
17+ for shell in bash fish zsh; do
18+ CGO_ENABLED=0 GOARCH="" go run cmd/egctl/main.go completion "$shell" \
19+ >"completion.$shell"
20+ done
21+ }
22+
23+ post_install() {
24+ for shell in bash fish zsh; do
25+ vcompletion "completion.$shell" "$shell"
26+ done
27+ }
You can’t perform that action at this time.
0 commit comments