Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/cargo/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set -e

(cd svc && cargo check --workspace)
(cd lib/bolt && cargo check --workspace)
(cd lib/convert && cargo check --workspace)
(cd lib/util && cargo check --workspace)
13 changes: 13 additions & 0 deletions scripts/cargo/fix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set -e

# Clean svc and libs
(cd svc && cargo fix --workspace --allow-dirty)
(cd lib/bolt && cargo fix --workspace --allow-dirty)
(cd lib/convert && cargo fix --workspace --allow-dirty)
(cd lib/util && cargo fix --workspace --allow-dirty)

# Format svc and libs
(cd svc && cargo fmt)
(cd lib/bolt && cargo fmt)
(cd lib/convert && cargo fmt)
(cd lib/util && cargo fmt)
File renamed without changes.