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 0969813 commit b859582
Show file tree
Hide file tree
Showing 10 changed files with 117 additions and 179 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@v4
name: Checkout repository
- uses: actions/setup-node@v4
name: Set up NodeJS
with:
node-version: 18
- run: npm install
name: Install dependencies
- run: npm test
name: Run tests
uses: tree-sitter-grammars/.github/.github/workflows/ci.yml@main
8 changes: 4 additions & 4 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-ssh-config

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

A tree-sitter parser for OpenSSH client configuration files.

Expand All @@ -18,5 +20,8 @@ A tree-sitter parser for OpenSSH client configuration files.
- [x] Neovim
- [ ] Helix _(has alternative)_
- [ ] Emacs
- [ ] Zed

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

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

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "tree-sitter-ssh-config",
"version": "0.1.2",
"version": "0.2.0",
"license": "MIT",
"description": "OpenSSH config grammar for tree-sitter",
"repository": "ObserverOfTime/tree-sitter-ssh-config",
"repository": "tree-sitter-grammars/tree-sitter-ssh-config",
"author": {
"name": "ObserverOfTime",
"email": "[email protected]",
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
Loading

0 comments on commit b859582

Please sign in to comment.