Skip to content
Snippets Groups Projects
Commit 98f08bb0 authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

community/go-task: upgrade to 3.10.0

parent c47f0ba3
1 merge request!30003community/go-task: upgrade to 3.10.0
Pipeline #108137 passed
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=go-task
pkgver=3.9.2
pkgrel=1
pkgver=3.10.0
pkgrel=0
pkgdesc="Task runner written in Go, installed as go-task"
url="https://taskfile.dev/"
arch="all"
......@@ -47,7 +47,7 @@ package() {
}
task() {
description="Task runner, written in Go, installed as task"
pkgdesc="Task runner, written in Go, installed as task"
depends="!task"
mkdir -p "$subpkgdir/usr/bin"
......@@ -55,6 +55,6 @@ task() {
}
sha512sums="
fbb9dcf39213939a2bbff1c851e831edc607d56f1a181396abc258b826a00fd07a4cee6077fdbbaa14179a51c574f9fdbaebe18998ba573527f2315ab7b6364e go-task-3.9.2.tar.gz
84054b4a895ef3f5860e3e151d375d28cb278e1315c8d77876ba1523a745442c4ca5f27cead5655aeeb04013c9a35423e5ea36ccc7f45cb8bf2bb079857d71d1 completion-rename-to-go-task.patch
eb28f599e31f30d79ee74352e1607f3554035b3db33752fdf97cad54189eb54f4a25b483e696feb7403138265a67118112006e13a60708ba1416290f946b464a go-task-3.10.0.tar.gz
ed78b6ee7c7db13ba002766e5798ad66c770317670fbf74bcae6a8eab3c963ff4c2894e36e2632e51355047021e1e5e8bf06c8b57247e1b7207958c43732317f completion-rename-to-go-task.patch
"
......@@ -65,18 +65,13 @@ index 92a7478..cf7797b 100644
+complete -c go-task -l version -d 'show Task version'
+complete -c go-task -s w -l watch -d 'enables watch of the given task'
diff --git a/completion/zsh/_task b/completion/zsh/_task
index 48777e4..c2458d2 100755
index 2bd4ac4..3a2100d 100755
--- a/completion/zsh/_task
+++ b/completion/zsh/_task
@@ -1,11 +1,11 @@
-#compdef task
+#compdef go-task
# Listing commands from Taskfile.yml
function __list() {
@@ -5,7 +5,7 @@ function __list() {
local -a scripts
if [ -f Taskfile.yml ]; then
if [ -f Taskfile.yml ] || [ -f Taskfile.yaml ]; then
- scripts=($(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/g'))
+ scripts=($(go-task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/g'))
_describe 'script' scripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment