From 08adeb1cf90700ae74a19e33f6897191e3495bc3 Mon Sep 17 00:00:00 2001 From: derekstride Date: Tue, 30 Jul 2024 09:37:57 -0400 Subject: [PATCH 1/2] fix: include scanner in rust bindings --- bindings/rust/build.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index 4cc26f5e..c800fe3e 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -15,29 +15,10 @@ fn main() { // If your language uses an external scanner written in C, // then include this block of code: - - /* let scanner_path = src_dir.join("scanner.c"); c_config.file(&scanner_path); println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ c_config.compile("parser"); println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); - - // If your language uses an external scanner written in C++, - // then include this block of code: - - /* - let mut cpp_config = cc::Build::new(); - cpp_config.cpp(true); - cpp_config.include(&src_dir); - cpp_config - .flag_if_supported("-Wno-unused-parameter") - .flag_if_supported("-Wno-unused-but-set-variable"); - let scanner_path = src_dir.join("scanner.cc"); - cpp_config.file(&scanner_path); - cpp_config.compile("scanner"); - println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ } From 7cd0515f537933e7d24534ae3b76f4b952136eaf Mon Sep 17 00:00:00 2001 From: derekstride Date: Tue, 30 Jul 2024 09:38:35 -0400 Subject: [PATCH 2/2] chore(release): 0.3.3 --- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- package.json | 2 +- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f952da8..46fe8f98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [0.3.3](https://github.com/derekstride/tree-sitter-sql/compare/v0.3.2...v0.3.3) (2024-07-30) + + +### Bug Fixes + +* include scanner in rust bindings ([08adeb1](https://github.com/derekstride/tree-sitter-sql/commit/08adeb1cf90700ae74a19e33f6897191e3495bc3)) + ## [0.3.2](https://github.com/derekstride/tree-sitter-sql/compare/v0.3.0...v0.3.2) (2024-07-25) diff --git a/Cargo.toml b/Cargo.toml index 22dedcc2..a5bad63d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tree-sitter-sequel" description = "sql grammar for the tree-sitter parsing library" -version = "0.3.2" +version = "0.3.3" keywords = ["incremental", "parsing", "sql"] categories = ["parsing", "text-editors"] repository = "https://github.com/DerekStride/tree-sitter-sql" diff --git a/package.json b/package.json index b6a5bcbb..def82129 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@derekstride/tree-sitter-sql", - "version": "0.3.2", + "version": "0.3.3", "description": "Tree-sitter Grammar for SQL", "main": "bindings/node", "types": "bindings/node", diff --git a/pyproject.toml b/pyproject.toml index f04e5014..987adb3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "tree-sitter-sql" description = "Sql grammar for tree-sitter" -version = "0.3.2" +version = "0.3.3" keywords = ["incremental", "parsing", "tree-sitter", "sql"] classifiers = [ "Intended Audience :: Developers",