-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create CI and companion scripts (#100)
## What Changed? Refactors the CI commands into locally runnable scripts. `integration-tests.sh` and `compiler-tests.sh` are for testing. `dock-check.sh` lints the documentation of the public-facing crates. `format.sh` is responsible for `clippy` and `rustfmt` checks. To run all doc and format checks use `check-all.sh`. In addition there are the "companion scripts" for `clippy` and `rustfmt` which apply the suggested fixes by passing `clippy-fix` and `fmt-fix` to `format.sh` respectively. Most of the time you'll want to use `fix-all.sh` which invokes both in series, to get your code in the shape the CI expects. Also now includes test crates in the formatting. ## Why Does It Need To? Closes #90 ## Checklist - [x] Above description has been filled out so that upon quash merge we have a good record of what changed. - [x] New functions, methods, types are documented. Old documentation is updated if necessary - [ ] Documentation in Notion has been updated - [ ] Tests for new behaviors are provided - [ ] New test suites (if any) ave been added to the CI tests (in `.github/workflows/rust.yml`) either as compiler test or integration test. *Or* justification for their omission from CI has been provided in this PR description.
- Loading branch information
1 parent
ee875f9
commit cb72c3f
Showing
22 changed files
with
288 additions
and
193 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
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
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
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
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 |
---|---|---|
|
@@ -4,5 +4,5 @@ use std::vec::Vec; | |
fn main() { | ||
let mut v = Vec::new(); | ||
v.push(0); | ||
v.push(1); | ||
v.push(1); | ||
} |
Oops, something went wrong.