|
Download .forge/commands/check.md from SaylorTwift/forgecode: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/SaylorTwift/forgecode/resolve/main/.forge/commands/check.md
- Command line
-
hf download hf://SaylorTwift/forgecode/.forge/commands/check.md
-
curl -L -o check.md https://huggingface.co/SaylorTwift/forgecode/resolve/main/.forge/commands/check.md
361 Bytes
| name: check | |
| description: Checks if the code is ready to be committed | |
| - Run the `lint` and `test` commands and verify if everything is fine. | |
| <lint>cargo +nightly fmt --all; cargo +nightly clippy --fix --allow-staged --allow-dirty --workspace</lint> | |
| <test>cargo insta test --accept --unreferenced=delete</test> | |
| - Fix every issue found in the process | |