Skip to content

Commit

Permalink
Merge pull request #4 from sangshuduo/mentat-scripts-1
Browse files Browse the repository at this point in the history
Generate Mentat Scripts
  • Loading branch information
sangshuduo authored Nov 11, 2024
2 parents bc22b35 + 153b069 commit d853125
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .mentat/precommit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
. "$HOME/.cargo/env"
cargo fmt --all
cargo clippy --workspace -- -D warnings
cargo check --workspace
cargo test --workspace
3 changes: 3 additions & 0 deletions .mentat/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
cargo fetch

0 comments on commit d853125

Please sign in to comment.