Skip to content
Snippets Groups Projects
fetch.sh 333 B
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
#!/usr/bin/env bash
set -e
    recipes="$(target/release/list_recipes)"
Jacob Lorentzon's avatar
Jacob Lorentzon committed
for recipe_path in $recipes
    if [ -e "$recipe_path/recipe.toml" ]
Jacob Lorentzon's avatar
Jacob Lorentzon committed
        target/release/cook --fetch-only "$recipe_path"
    else
        ./cook.sh "$recipe_path" fetch