From 47d04ef7ac51ddcf24334547b0d3475b32e08208 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Thu, 21 May 2020 13:50:19 -0600 Subject: [PATCH] Improve speed of repo.sh --- repo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repo.sh b/repo.sh index a2792d0b9..b9e3e6b42 100755 --- a/repo.sh +++ b/repo.sh @@ -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 -- GitLab