Skip to content

Commit

Permalink
chore(just): add just example tool for running examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Sep 4, 2023
1 parent 812a2e9 commit 1d83c56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S just --justfile

_default:
just --list -u
@just --list -u

alias r := ready
alias c := coverage
Expand Down Expand Up @@ -35,6 +35,10 @@ update:
watch command:
cargo watch --no-vcs-ignores -i '*snap*' -x '{{command}}'

# Run the example in `parser`, `formatter`, `linter`
example tool:
just watch 'run -p oxc_{{tool}} --example {{tool}}'

# Format all files
fmt:
cargo fmt
Expand Down

0 comments on commit 1d83c56

Please sign in to comment.