Skip to content

Commit

Permalink
Use npx instead in rzshell build insns (#4331)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Mar 5, 2024
1 parent de1b126 commit d3c05ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions subprojects/rizin-shell-parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ the parser. The process works as follows:

1. Do changes as needed to grammar.js and/or src/scanner.c
2. Install npm dependencies with: `cd subprojects/rizin-shell-parser ; npm install`
3. Make sure tree-sitter is in PATH: `export PATH=$PATH:./node_modules/.bin`
4. Re-generate the parser files: `tree-sitter generate`
5. Check tests still pass: `tree-sitter test`. Use `tree-sitter parse
3. Re-generate the parser files: `npx tree-sitter generate`
4. Check tests still pass: `npx tree-sitter test`. Use `npx tree-sitter parse
./example-file` if you want to see the syntax tree of a custom input provided
in `./example-file`
6. Commit auto-generated files and modified grammar.js and src/scanner.c into git.
5. Commit auto-generated files and modified grammar.js and src/scanner.c into git.

0 comments on commit d3c05ca

Please sign in to comment.