From c4ae13b4087467227b0ca62d6d17853a5046c807 Mon Sep 17 00:00:00 2001 From: Ben Mezger Date: Sun, 14 Jan 2024 00:34:52 +0100 Subject: [PATCH] chore: add single target --- justfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 33cafb3..849a5a6 100644 --- a/justfile +++ b/justfile @@ -15,11 +15,15 @@ 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; \ - just pkgsdir={{pkgsdir}} copy $pkg; \ + just single $pkg; \ done +single target: + just build {{target}} + just makepkg_flags={{makepkg_flags}} build {{target}} + just pkgcheck {{target}} + just pkgsdir={{pkgsdir}} copy {{target}} + build target: @echo "Building {{target}}" cd {{target}} && makepkg -s --noconfirm {{makepkg_flags}}