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 baeac48 commit 15d89be
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text=auto
* text=auto eol=lf

src/** linguist-generated
bindings/** linguist-generated
Expand Down
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@v3
name: Checkout repository
- uses: actions/setup-node@v3
name: Set up NodeJS
with:
node-version: 16
- run: npm install
name: Install dependencies
- run: npm test
name: Run tests
uses: tree-sitter-grammars/.github/.github/workflows/ci.yml@main
5 changes: 3 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-udev

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

A tree-sitter parser for udev rules.

Expand All @@ -14,5 +16,8 @@ A tree-sitter parser for udev rules.
- [x] Neovim
- [ ] Helix
- [ ] Emacs
- [ ] Zed

[badge]: https://badgen.net/github/checks/ObserverOfTime/tree-sitter-udev?label=CI&icon=github
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-udev/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.

30 changes: 2 additions & 28 deletions bindings/rust/build.rs

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

18 changes: 10 additions & 8 deletions bindings/rust/lib.rs

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "tree-sitter-udev",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"description": "udev grammar for tree-sitter",
"repository": "ObserverOfTime/tree-sitter-udev",
"repository": "tree-sitter-grammars/tree-sitter-udev",
"author": {
"name": "ObserverOfTime",
"email": "[email protected]",
Expand All @@ -21,10 +21,10 @@
},
"main": "bindings/node",
"dependencies": {
"nan": "^2.17.0"
"nan": "^2.17.1"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
"tree-sitter-cli": "~0.21.0-pre-release-1"
},
"tree-sitter": [
{
Expand Down
6 changes: 3 additions & 3 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 15d89be

Please sign in to comment.