-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "tree-sitter-bash" | ||
description = "bash grammar for the tree-sitter parsing library" | ||
description = "Bash grammar for tree-sitter" | ||
version = "0.19.0" | ||
keywords = ["incremental", "parsing", "bash"] | ||
categories = ["parsing", "text-editors"] | ||
repository = "https://github.com/tree-sitter/tree-sitter-bash" | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = [ | ||
"Max Brunsfeld <[email protected]", | ||
|
@@ -23,7 +23,7 @@ include = [ | |
path = "bindings/rust/lib.rs" | ||
|
||
[dependencies] | ||
tree-sitter = ">= 0.19, < 0.21" | ||
tree-sitter = "~0.20.10" | ||
|
||
[build-dependencies] | ||
cc = "1.0" | ||
cc = "^1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
tree-sitter-bash | ||
================ | ||
# tree-sitter-bash | ||
|
||
[![Build Status](https://travis-ci.org/tree-sitter/tree-sitter-bash.svg?branch=master)](https://travis-ci.org/tree-sitter/tree-sitter-bash) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/9mbap95nldligssx/branch/master?svg=true)](https://ci.appveyor.com/project/maxbrunsfeld/tree-sitter-bash/branch/master) | ||
[![CI](https://github.com/tree-sitter/tree-sitter-c/actions/workflows/ci.yml/badge.svg)](https://github.com/tree-sitter/tree-sitter-c/actions/workflows/ci.yml) | ||
|
||
Bash grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter). | ||
|
||
### Development | ||
## Development | ||
|
||
Install the dependencies: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
Build and run the tests: | ||
|
||
```sh | ||
npm run build | ||
npm run test | ||
``` | ||
|
||
Run the build and tests in watch mode: | ||
|
||
```sh | ||
npm run test:watch | ||
``` | ||
|
||
#### References | ||
### References | ||
|
||
* [Bash man page](http://man7.org/linux/man-pages/man1/bash.1.html#SHELL_GRAMMAR) | ||
* [Shell command language specification](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html) | ||
* [mvdnan/sh - a shell parser in go](https://github.com/mvdan/sh) | ||
- [Bash man page](http://man7.org/linux/man-pages/man1/bash.1.html#SHELL_GRAMMAR) | ||
- [Shell command language specification](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html) | ||
- [mvdnan/sh - a shell parser in go](https://github.com/mvdan/sh) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters