From 029291e5495bf679cb36a7500b73ff9fa1dfff35 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 11 May 2024 05:33:43 +0100 Subject: merge script/vendor/* into include/vendor.sh stub it from the main build script the commands remain identical: ./vendor download arguments_here ./vendor inject arguments_here Signed-off-by: Leah Rowe --- build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build') diff --git a/build b/build index 3854f3e5..60877d8e 100755 --- a/build +++ b/build @@ -13,6 +13,8 @@ if [ "./${0##*/}" != "${0}" ] || [ ! -f "build" ] || [ -L "build" ]; then fi . "include/option.sh" +. "include/vendor.sh" +. "include/mrc.sh" eval "$(setvars "" option aur_notice vdir relname src_dirname srcdir _xm \ target romdir mode)" @@ -46,10 +48,13 @@ initcmd() list) items "${buildpath}" ;; version) mkversion ;; release) shift 1; mkrelease $@ ;; + inject) shift 1; vendor_inject $@ ;; + download) shift 1; vendor_download $@ ;; *) option="${1}" return 0 ;; esac + set -u -e # some commands disable them. turn them on! lbmk_exit 0 } @@ -107,6 +112,8 @@ usage() $(items "${buildpath}") Special commands (consult $projectname documentation): + ./vendor inject + ./vendor download ./update release ./build dependencies distroname (replace distroname with a filename from config/dependencies/) -- cgit v1.2.1