Add scripts

This commit is contained in:
Ribbon 2024-08-15 14:54:36 +00:00 • committed by Jeremy Soller
commit 584a6e41c0

10
scripts/cargo-update.sh Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# This script runs "make f.recipe" and "cargo update" in the specified recipe
recipe_name="$1"
recipe_path=$(find cookbook/recipes -name "$recipe_name" -maxdepth 4)
make f."$recipe_name"
cd "$recipe_path"/source
cargo update