Skip to content

Commit

Permalink
chore: Update version number and tidy up Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniscirpons committed Aug 29, 2024
1 parent 5399d5c commit 2438b74
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 79 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ temp_*/
log.html
examples/corpus_*.tar.gz
*.egg-info
gap.so
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-gap"
description = "gap grammar for the tree-sitter parsing library"
version = "0.2.0"
version = "0.3.0"
authors = ["Max Horn", "Reinis Cirpons <[email protected]>"]
keywords = ["incremental", "parsing", "gap", "gap-system"]
categories = ["parsing", "text-editors"]
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CORPUS_VERSION=v4.13.0
CORPUS_VERSION=v4.13.1
GRAMMAR_VERSION=v0.3.0
EXAMPLES_DIR=./examples
RELEASE_PREFIX=https://github.com/gap-system/tree-sitter-gap/releases/download

Expand All @@ -16,10 +17,10 @@ corpus:
mv ./temp_extract_corpus/corpus_pkg.tar.gz $(EXAMPLES_DIR)/corpus_pkg_$(CORPUS_VERSION).tar.gz

$(EXAMPLES_DIR)/corpus_gap_$(CORPUS_VERSION).tar.gz:
curl -L $(RELEASE_PREFIX)/v0.2.0/corpus_gap_$(CORPUS_VERSION).tar.gz > $(EXAMPLES_DIR)/corpus_gap_$(CORPUS_VERSION).tar.gz
curl -L $(RELEASE_PREFIX)/$(GRAMMAR_VERSION)/corpus_gap_$(CORPUS_VERSION).tar.gz > $(EXAMPLES_DIR)/corpus_gap_$(CORPUS_VERSION).tar.gz

$(EXAMPLES_DIR)/corpus_pkg_$(CORPUS_VERSION).tar.gz:
curl -L $(RELEASE_PREFIX)/v0.2.0/corpus_pkg_$(CORPUS_VERSION).tar.gz > $(EXAMPLES_DIR)/corpus_pkg_$(CORPUS_VERSION).tar.gz
curl -L $(RELEASE_PREFIX)/$(GRAMMAR_VERSION)/corpus_pkg_$(CORPUS_VERSION).tar.gz > $(EXAMPLES_DIR)/corpus_pkg_$(CORPUS_VERSION).tar.gz

$(EXAMPLES_DIR)/temp_corpus_gap_$(CORPUS_VERSION): $(EXAMPLES_DIR)/corpus_gap_$(CORPUS_VERSION).tar.gz
mkdir -p $(EXAMPLES_DIR)/temp_corpus_gap_$(CORPUS_VERSION)
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-gap",
"version": "0.2.0",
"version": "0.3.0",
"description": "gap grammar for tree-sitter",
"keywords": [
"tree-sitter",
Expand Down Expand Up @@ -64,12 +64,9 @@
"gi",
"gd"
],
"highlights": [
"queries/highlights.scm"
],
"locals": [
"queries/locals.scm"
]
"highlights": "queries/highlights.scm",
"locals": "queries/locals_ts.scm",
"tags": "queries/tags.scm"
}
]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-gap"
description = "gap grammar for tree-sitter"
version = "0.2.0"
version = "0.3.0"
keywords = ["incremental", "parsing", "tree-sitter", "gap"]
classifiers = [
"Intended Audience :: Developers",
Expand Down
129 changes: 62 additions & 67 deletions src/grammar.json

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

0 comments on commit 2438b74

Please sign in to comment.