From 46581a1c65e39f024b53c6447195dfeb318654d5 Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Sun, 9 Feb 2025 11:42:15 -0700 Subject: [PATCH] move fasteners out to their own repo --- modular-recipes/repos/fasteners/README.md | 1 + .../{recipes/purchase => repos/fasteners}/bearing_624.toml | 0 .../{recipes/purchase => repos/fasteners}/filament.toml | 0 .../{recipes/purchase => repos/fasteners}/m4_20_shcs.toml | 0 .../{recipes/purchase => repos/fasteners}/m4_25_bhcs.toml | 0 .../{recipes/purchase => repos/fasteners}/m4_5_shcs.toml | 0 .../{recipes/purchase => repos/fasteners}/m4_nuts.toml | 0 .../{recipes/purchase => repos/fasteners}/m4_washer.toml | 0 .../purchase => repos/fasteners}/silicone_tubing.toml | 0 .../purchase => repos/fasteners}/stepper_28byj_48.toml | 0 tools/src/recipe.rs | 4 ++-- 11 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 modular-recipes/repos/fasteners/README.md rename modular-recipes/{recipes/purchase => repos/fasteners}/bearing_624.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/filament.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/m4_20_shcs.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/m4_25_bhcs.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/m4_5_shcs.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/m4_nuts.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/m4_washer.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/silicone_tubing.toml (100%) rename modular-recipes/{recipes/purchase => repos/fasteners}/stepper_28byj_48.toml (100%) diff --git a/modular-recipes/repos/fasteners/README.md b/modular-recipes/repos/fasteners/README.md new file mode 100644 index 0000000..db16201 --- /dev/null +++ b/modular-recipes/repos/fasteners/README.md @@ -0,0 +1 @@ +This repo contains common fasteners. diff --git a/modular-recipes/recipes/purchase/bearing_624.toml b/modular-recipes/repos/fasteners/bearing_624.toml similarity index 100% rename from modular-recipes/recipes/purchase/bearing_624.toml rename to modular-recipes/repos/fasteners/bearing_624.toml diff --git a/modular-recipes/recipes/purchase/filament.toml b/modular-recipes/repos/fasteners/filament.toml similarity index 100% rename from modular-recipes/recipes/purchase/filament.toml rename to modular-recipes/repos/fasteners/filament.toml diff --git a/modular-recipes/recipes/purchase/m4_20_shcs.toml b/modular-recipes/repos/fasteners/m4_20_shcs.toml similarity index 100% rename from modular-recipes/recipes/purchase/m4_20_shcs.toml rename to modular-recipes/repos/fasteners/m4_20_shcs.toml diff --git a/modular-recipes/recipes/purchase/m4_25_bhcs.toml b/modular-recipes/repos/fasteners/m4_25_bhcs.toml similarity index 100% rename from modular-recipes/recipes/purchase/m4_25_bhcs.toml rename to modular-recipes/repos/fasteners/m4_25_bhcs.toml diff --git a/modular-recipes/recipes/purchase/m4_5_shcs.toml b/modular-recipes/repos/fasteners/m4_5_shcs.toml similarity index 100% rename from modular-recipes/recipes/purchase/m4_5_shcs.toml rename to modular-recipes/repos/fasteners/m4_5_shcs.toml diff --git a/modular-recipes/recipes/purchase/m4_nuts.toml b/modular-recipes/repos/fasteners/m4_nuts.toml similarity index 100% rename from modular-recipes/recipes/purchase/m4_nuts.toml rename to modular-recipes/repos/fasteners/m4_nuts.toml diff --git a/modular-recipes/recipes/purchase/m4_washer.toml b/modular-recipes/repos/fasteners/m4_washer.toml similarity index 100% rename from modular-recipes/recipes/purchase/m4_washer.toml rename to modular-recipes/repos/fasteners/m4_washer.toml diff --git a/modular-recipes/recipes/purchase/silicone_tubing.toml b/modular-recipes/repos/fasteners/silicone_tubing.toml similarity index 100% rename from modular-recipes/recipes/purchase/silicone_tubing.toml rename to modular-recipes/repos/fasteners/silicone_tubing.toml diff --git a/modular-recipes/recipes/purchase/stepper_28byj_48.toml b/modular-recipes/repos/fasteners/stepper_28byj_48.toml similarity index 100% rename from modular-recipes/recipes/purchase/stepper_28byj_48.toml rename to modular-recipes/repos/fasteners/stepper_28byj_48.toml diff --git a/tools/src/recipe.rs b/tools/src/recipe.rs index eb906e4..4079bda 100644 --- a/tools/src/recipe.rs +++ b/tools/src/recipe.rs @@ -154,8 +154,8 @@ mod test { "../modular-recipes/recipes/peristaltic-pump/print/bearing_hub.toml", false, ), - ("../modular-recipes/recipes/purchase/m4_nuts.toml", true), - ("../modular-recipes/recipes/purchase/filament.toml", true), + ("../modular-recipes/repos/fasteners/m4_nuts.toml", true), + ("../modular-recipes/repos/fasteners/filament.toml", true), ]; for (recipe_filename, is_leaf) in recipes.iter() {