summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:28:06 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:28:06 +0100
commitbc16b2767d8ec9e8c84828df48e7eab793713003 (patch)
tree9079f7d48b136f49a10e94ea54b0851ec03df22c /src/xi.sh
parent038a56d555833d2db3af772b890a8fc8c283120e (diff)
added build command
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xi.sh b/src/xi.sh
index b16a36e..c241585 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -125,6 +125,7 @@ done
. ${LIBDIR}/query.sh
. ${LIBDIR}/sync.sh
. ${LIBDIR}/install.sh
+. ${LIBDIR}/build.sh
. ${LIBDIR}/get.sh
. ${LIBDIR}/remove.sh
@@ -156,6 +157,14 @@ else
get $tofetch
install $(cat $toinstall)
;;
+ "build")
+ shift
+ checkroot
+
+ [ "$#" = "0" ] && set -- $(list_installed)
+
+ build $@
+ ;;
"search")
shift
search $@