From: mchlumsky <mchlumsky@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] goreleaser: add completion
Date: Mon, 24 Jul 2023 00:12:49 +0200 [thread overview]
Message-ID: <20230723221249.daJUSRtQyS-rdnaz1yxyTpKiaDUmvKTSSlu7zSNpeHA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45205@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
There is an updated pull request by mchlumsky against master on the void-packages repository
https://github.com/mchlumsky/void-packages add-readme-completion
https://github.com/void-linux/void-packages/pull/45205
goreleaser: add completion
#### Testing the changes
- I tested the changes in this PR: **YES**
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/45205.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-readme-completion-45205.patch --]
[-- Type: text/x-diff, Size: 1131 bytes --]
From ebe8c44fa1faee1f0e78dd578ec60a83c40ad7c9 Mon Sep 17 00:00:00 2001
From: Martin Chlumsky <martin.chlumsky@gmail.com>
Date: Fri, 21 Jul 2023 13:16:26 -0400
Subject: [PATCH] goreleaser: add completion
---
srcpkgs/goreleaser/template | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/goreleaser/template b/srcpkgs/goreleaser/template
index e245056d7d15b..db93f6aa267a8 100644
--- a/srcpkgs/goreleaser/template
+++ b/srcpkgs/goreleaser/template
@@ -1,8 +1,9 @@
# Template file for 'goreleaser'
pkgname=goreleaser
version=1.19.2
-revision=1
+revision=2
build_style=go
+build_helper="qemu"
go_import_path=github.com/goreleaser/goreleaser
go_ldflags="-X main.version=${version}"
short_desc="Deliver Go binaries as fast and easily as possible"
@@ -14,4 +15,11 @@ checksum=60e94d9371f7106878441deb006814339e3cf3d7f574d25cb22a9a45ec14939b
post_install() {
vlicense LICENSE.md
+
+ goreleaser=$(find $GOPATH/bin -name goreleaser)
+
+ for shell in bash fish zsh; do
+ vtargetrun ${goreleaser} completion ${shell} > completion.${shell}
+ vcompletion completion.${shell} ${shell}
+ done
}
next prev parent reply other threads:[~2023-07-23 22:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-23 14:01 [PR PATCH] goreleaser: add completion and README.md mchlumsky
2023-07-23 14:04 ` [PR REVIEW] " classabbyamp
2023-07-23 14:09 ` [PR PATCH] [Updated] " mchlumsky
2023-07-23 14:10 ` [PR REVIEW] goreleaser: add completion mchlumsky
2023-07-23 14:14 ` classabbyamp
2023-07-23 14:14 ` classabbyamp
2023-07-23 22:12 ` mchlumsky [this message]
2023-07-23 22:20 ` mchlumsky
2023-07-24 13:45 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230723221249.daJUSRtQyS-rdnaz1yxyTpKiaDUmvKTSSlu7zSNpeHA@z \
--to=mchlumsky@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).