diff --git a/.mentat/precommit.sh b/.mentat/precommit.sh new file mode 100644 index 0000000..3fead2c --- /dev/null +++ b/.mentat/precommit.sh @@ -0,0 +1,5 @@ +. "$HOME/.cargo/env" +cargo fmt --all +cargo clippy --workspace -- -D warnings +cargo check --workspace +cargo test --workspace \ No newline at end of file diff --git a/.mentat/setup.sh b/.mentat/setup.sh new file mode 100644 index 0000000..50dbcbd --- /dev/null +++ b/.mentat/setup.sh @@ -0,0 +1,3 @@ +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +. "$HOME/.cargo/env" +cargo fetch \ No newline at end of file