Add scripts
This commit is contained in:
parent
36eb0faa86
commit
584a6e41c0
1 changed files with 92 additions and 0 deletions
10
scripts/cargo-update.sh
Normal file
10
scripts/cargo-update.sh
Normal 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
|
||||
Loading…
Reference in a new issue