-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add script to run cargo clean (#700)
This is primarily so I can run a script to clean unused imports when I'm making lots of changes. The PR above this in the stack is running these scripts.
- Loading branch information
1 parent
332f88c
commit 0f653e2
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.