Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use npx instead in rzshell build insns #4331

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading