summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
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/)