This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update contribution guidelines
- Loading branch information
Showing
3 changed files
with
114 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
_default: | ||
just --list -u | ||
|
||
codegen: | ||
cargo codegen all | ||
cargo codegen-configuration | ||
cargo codegen-schema | ||
cargo codegen-bindings | ||
|
||
documentation: | ||
cargo lintdoc | ||
cargo documentation | ||
|
||
new-lintrule path name: | ||
cargo run -p xtask_codegen -- newlintrule --path={{path}} --name={{name}} | ||
just codegen | ||
just documentation | ||
|
||
[unix] | ||
_touch file: | ||
touch {{file}} | ||
|
||
[windows] | ||
_touch file: | ||
(gci {{file}}).LastWriteTime = Get-Date | ||
|
||
test-lintrule name: | ||
just _touch crates/rome_js_analyze/tests/spec_tests.rs | ||
cargo test -p rome_js_analyze -- {{snakecase(name)}} | ||
|
||
check-ready: | ||
git diff --exit-code --quiet | ||
just codegen | ||
just documentation | ||
cargo lint | ||
cargo fmt | ||
cargo test | ||
git diff --exit-code --quiet |