Add fetch target

This commit is contained in:
Wildan M 2025-11-22 05:11:07 -08:00
parent 0a5fee866c
commit 322e6050b9
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -21,6 +21,14 @@ else
@./target/release/repo tree $(COOKBOOK_OPTS) --with-package-deps
endif
# Fetch all recipes source or binary from filesystem config
fetch: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) make $@
else
@./target/release/repo fetch $(COOKBOOK_OPTS) --with-package-deps
endif
# Find recipe for one or more targets separated by comma
find.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)