Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 616 Bytes

DEVELOP.md

File metadata and controls

37 lines (25 loc) · 616 Bytes

Development

Install tree-sitter CLI

Follow tree-sitter installation instructions

Build testable grammar

npx tree-sitter generate

Test

npx tree-sitter test

Run tests matching a specific filter:

npx tree-sitter test -f 'Node'

Publish

Local Python

python -m pip install .

Release to npm, pypi

  1. Bump all build files to matching version (global search & replace)
  2. Commit changes
  3. Tag with new version using `git tag -a -m ""
  4. git push --follow-tags