Skip to content

Commit

Permalink
chore: add single target
Browse files Browse the repository at this point in the history
  • Loading branch information
benmezger committed Jan 13, 2024
1 parent dab4a83 commit c4ae13b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit c4ae13b

Please sign in to comment.