Skip to content

Commit

Permalink
chore: update everything
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Feb 12, 2024
1 parent fa83292 commit 99ce487
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 66 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Test grammar

on:
push:
branches: [master]
branches: ["*"]
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp
pull_request:
branches: [master]
branches: ["*"]
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout repository
- uses: actions/setup-node@v4
name: Set up NodeJS
with:
node-version: 20
- run: npm install
name: Install dependencies
- run: npm test
name: Run tests
uses: tree-sitter-grammars/.github/.github/workflows/ci.yml@main
4 changes: 2 additions & 2 deletions Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# tree-sitter-poe-filter

[![CI][badge]](https://github.com/ObserverOfTime/tree-sitter-poe-filter/actions)
[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-poe-filter/actions)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#nvim-treesitter:matrix.org)

A tree-sitter parser for Path of Exile item filters.

Expand All @@ -15,5 +17,8 @@ A tree-sitter parser for Path of Exile item filters.
- [x] Neovim
- [ ] Helix
- [ ] Emacs
- [ ] Zed

[badge]: https://badgen.net/github/checks/ObserverOfTime/tree-sitter-poe-filter?label=CI&icon=github
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-poe-filter/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=tree-sitter
[matrix]: https://img.shields.io/matrix/nvim-treesitter%3Amatrix.org?logo=matrix&label=nvim-treesitter
5 changes: 4 additions & 1 deletion binding.gyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 2 additions & 27 deletions bindings/rust/build.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions bindings/rust/lib.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-poe-filter",
"version": "0.2.1",
"version": "0.3.0",
"license": "MIT",
"description": "PoE filter grammar for tree-sitter",
"repository": "ObserverOfTime/tree-sitter-poe-filter",
Expand All @@ -25,7 +25,7 @@
"nan": "^2.18.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "~0.21.0-pre-release-1"
},
"tree-sitter": [
{
Expand Down
8 changes: 4 additions & 4 deletions src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions src/tree_sitter/parser.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99ce487

Please sign in to comment.