From dab4a831cb18d4ad8691c2f7bf19bad0fe6865e0 Mon Sep 17 00:00:00 2001 From: Ben Mezger Date: Sun, 14 Jan 2024 00:29:50 +0100 Subject: [PATCH] chore: add clone command --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index ed50a4a..33cafb3 100644 --- a/justfile +++ b/justfile @@ -13,6 +13,7 @@ pkgsdir := "../pacman-local" all: @echo "Using {{PACKAGE_FILE}} file" + just clone for pkg in `cat {{PACKAGE_FILE}}`; do \ just makepkg_flags={{makepkg_flags}} build $pkg; \ just pkgcheck $pkg; \ @@ -51,3 +52,7 @@ check-updates: done git diff + +clone: + @echo "Initializing and cloning submodules" + git submodule update --init --recursive