This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
core/update.sh

25 lines
446 B
Bash
Executable File

#!/usr/bin/env sh
cargo update && cargo upgrade
cd ./language_macros || (echo "No language_macros directory" && exit 1)
cargo update && cargo upgrade
cd ..
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