Improve speed of repo.sh

This commit is contained in:
Jeremy Soller 2020-05-21 13:50:19 -06:00
parent 11777aef25
commit 47d04ef7ac
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -20,11 +20,13 @@ then
recipes="$(ls -1 recipes)"
fi
cargo build --release
for recipe in $recipes
do
if [ -e "recipes/$recipe/recipe.toml" ]
then
cargo run --release -- "$recipe"
target/release/cook "$recipe"
continue
fi