Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
improv justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Dec 3, 2022
1 parent a1c049d commit 35fbc30
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
default:
just --list
just --list -u

codegen:
cargo codegen all
cargo codegen-configuration
cargo codegen-schema
cargo codegen-bindings
cargo codegen-aria
cargo codegen all
cargo codegen-configuration
cargo codegen-schema
cargo codegen-bindings
cargo codegen-aria

documentation:
cargo lintdoc
cargo documentation

new-lintrule path name:
cargo run -p xtask_codegen -- newlintrule --path={{path}} --name={{name}}
cargo codegen analyzer
cargo codegen-configuration
cargo lintdoc
cargo documentation
cargo run -p xtask_codegen -- newlintrule --path={{path}} --name={{name}}
just codegen
just documentation

check-lintrule name:
test-lintrule name:
cargo test -p rome_js_analyze -- {{snakecase(name)}}
cargo codegen analyzer
cargo codegen-configuration
cargo lintdoc
cargo documentation

check-ready:
git diff --exit-code
just codegen
just documentation
cargo lint
cargo fmt
cargo test
git diff --exit-code

0 comments on commit 35fbc30

Please sign in to comment.