Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/offload-build.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-01-05 01:07:39 +0100
committerLevente Polyak <anthraxx@archlinux.org>2024-01-05 01:07:39 +0100
commit78dd15099684615e98d20dfaa2b9fbe5ca3f6e6b (patch)
tree303c1ecdf75e8d3984a944410c90a1f7a9975ae6 /src/offload-build.in
parent4425913e4f3bfd3cb346c38e13a10f0002615a55 (diff)
chore(offload-build): deprecate in favor of pkgctl build --offload
Emit a warning when offload-build is invoked to warn about future removal. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'src/offload-build.in')
-rw-r--r--src/offload-build.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/offload-build.in b/src/offload-build.in
index 027bad3..0aa2e38 100644
--- a/src/offload-build.in
+++ b/src/offload-build.in
@@ -8,6 +8,11 @@
source /usr/share/makepkg/util/config.sh
+# Deprecation warning
+if [[ -z $_DEVTOOLS_COMMAND ]]; then
+ colorize
+ warning "${0##*/} is deprecated and will be removed. Use 'pkgctl build --offload' instead"
+fi
# global defaults suitable for use by Arch staff
repo=extra