From d6cc3422e4232d10b8a6ed2c5c27f378975cecde Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 1 Nov 2023 13:19:55 +0100 Subject: [PATCH] build(update.sh): Add trinitry to the crates to update --- update.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 3f58c76..614ca87 100755 --- a/update.sh +++ b/update.sh @@ -1,13 +1,24 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh cargo update && cargo upgrade cd ./language_macros || (echo "No language_macros directory" && exit 1) - cargo update && cargo upgrade - cd .. -git add Cargo.lock Cargo.toml flake.lock ./language_macros/Cargo.toml + +cd ./trinitry || (echo "No trinitry directory" && exit 1) +cargo update && cargo upgrade +./update.sh >> ./src/tests.rs +cd .. + + + +git add \ + Cargo.lock Cargo.toml \ + flake.lock \ + ./language_macros/Cargo.toml \ + ./trinitry/Cargo.toml \ + ./trinitry/src/tests.rs # vim: ft=sh