Skip to content

Commit 4bb6224

Browse files
author
sogaiu
committed
Update find command in testing docs
1 parent 400c96c commit 4bb6224

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/testing.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,9 @@ A less fancy, but easier to maintain (i.e. not written in Rust) tool --
8585
developed as an alternative to `a-tsclj-checker`. Strictly speaking,
8686
`ts-grammar-checker` may not be necessary as one can probably employ
8787
tree-sitter's `parse` command in combination with `find`, `xargs` and the like
88-
if on some kind of \*nix. An example of a not-quite-comparable (.cljc
89-
files ignored) invocation is:
88+
if on some kind of \*nix. An example of a comparable invocation is:
9089
```
91-
find ~/src/clojars-cljish -type f -regex '.*\.cljs?$' -print0 | xargs -0 npx tree-sitter parse --quiet > my-results.txt
90+
find ~/src/clojars-cljish -type f -regex '.*\.clj[cs]?$' -print0 | xargs -0 npx tree-sitter parse --quiet > my-results.txt
9291
```
9392

9493
`a-tsclj-checker` is the fastest tool but it has not been updated to the most

0 commit comments

Comments
 (0)