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>
This commit is contained in:
parent
4425913e4f
commit
78dd150996
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue