summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorkpcyrd <kpcyrd@archlinux.org>2023-08-25 04:02:56 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-11-26 16:48:15 +0100
commitae14c246b800139e3a8f5589fb8fe12aaeab6a76 (patch)
treef0f339444b78f906de59da1e412943736f08e60d /contrib
parentcc369e86d2e060d8b65c7dbbb0c933d18f8aa6b0 (diff)
downloaddevtools-ae14c246b800139e3a8f5589fb8fe12aaeab6a76.tar.xz
feat(makerepropkg): Add option to skip running check for speedup
Add -n to allow running makepkg with --nocheck. This is useful to reduce the time required to reproduce a package, as they should not depend on running the check function for being reproducible. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/bash/devtools.in1
-rw-r--r--contrib/completion/zsh/_devtools.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index b347b31..78f0741 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -42,6 +42,7 @@ complete -F _makechrootpkg makechrootpkg
_makerepropkg_args=(
-h
-d
+ -n
-c
-M
)
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index feeb2c2..372f07b 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -230,6 +230,7 @@ _offload_build_args=(
_makerepropkg_args=(
'-d[Run diffoscope if the package is unreproducible]'
+ '-n[Do not run the check() function in the PKGBUILD]'
'-c[Set pacman cache]:pacman_cache:_files -/'
'-M[Location of a makepkg config file]:makepkg_config:_files -g "*.conf(.)"'
'-h[Display usage]'