Extend Makefile to allow for the cleaning of recipes and dishes
This commit is contained in:
+8
-2
@@ -9,7 +9,8 @@ help:
|
|||||||
@echo " all - Generate, validate, and flatten all recipes (default)"
|
@echo " all - Generate, validate, and flatten all recipes (default)"
|
||||||
@echo " flatten-dishes - Flatten all recipes to dishes"
|
@echo " flatten-dishes - Flatten all recipes to dishes"
|
||||||
@echo " clean-dishes - Remove flattened dishes"
|
@echo " clean-dishes - Remove flattened dishes"
|
||||||
@echo " clean - Remove generated recipes"
|
@echo " clean-recipes - Remove generated recipes"
|
||||||
|
@echo " clean-all - Remove recipes and dishes"
|
||||||
@echo " install-deps - Install Python dependencies"
|
@echo " install-deps - Install Python dependencies"
|
||||||
|
|
||||||
all: generate-recipes flatten-dishes validate-recipes
|
all: generate-recipes flatten-dishes validate-recipes
|
||||||
@@ -41,6 +42,11 @@ clean-dishes:
|
|||||||
rm -f dishes/*.cfg
|
rm -f dishes/*.cfg
|
||||||
@echo "✓ Flattened dishes removed. Run 'make flatten-dishes' to regenerate."
|
@echo "✓ Flattened dishes removed. Run 'make flatten-dishes' to regenerate."
|
||||||
|
|
||||||
clean:
|
clean-recipes:
|
||||||
rm -f recipes/*.cfg
|
rm -f recipes/*.cfg
|
||||||
@echo "Generated recipes removed. Edit recipes_manifest.yaml and run 'make generate-recipes' to regenerate. Run 'make clean-dishes' to remove flattened dishes."
|
@echo "Generated recipes removed. Edit recipes_manifest.yaml and run 'make generate-recipes' to regenerate. Run 'make clean-dishes' to remove flattened dishes."
|
||||||
|
|
||||||
|
clean-all:
|
||||||
|
rm -f dishes/*.cfg
|
||||||
|
rm -f recipes/*.cfg
|
||||||
|
@echo "✓ Flattened dishes and generated recipes removed. Run 'make all' to regenerate."
|
||||||
Reference in New Issue
Block a user