From e9b3f65ceb10a695109f1d6b7aae563544cdd596 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sun, 10 Mar 2024 21:44:12 +0200 Subject: [PATCH] fix(bindings): fix template oversights --- cli/src/generate/templates/PARSER_NAME.pc.in | 2 +- cli/src/generate/templates/Package.swift | 4 ++-- cli/src/generate/templates/__init__.py | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cli/src/generate/templates/PARSER_NAME.pc.in b/cli/src/generate/templates/PARSER_NAME.pc.in index 9eb63aa9..deed9fa4 100644 --- a/cli/src/generate/templates/PARSER_NAME.pc.in +++ b/cli/src/generate/templates/PARSER_NAME.pc.in @@ -3,7 +3,7 @@ libdir=@LIBDIR@ includedir=@INCLUDEDIR@ Name: tree-sitter-PARSER_NAME -Description: PARSER_NAME grammar for tree-sitter +Description: CAMEL_PARSER_NAME grammar for tree-sitter URL: @URL@ Version: @VERSION@ Requires: @REQUIRES@ diff --git a/cli/src/generate/templates/Package.swift b/cli/src/generate/templates/Package.swift index a30387d5..f0cc1cd1 100644 --- a/cli/src/generate/templates/Package.swift +++ b/cli/src/generate/templates/Package.swift @@ -20,14 +20,14 @@ let package = Package( "bindings/node", "bindings/python", "bindings/rust", - "examples", + "prebuilds", "grammar.js", "package.json", "package-lock.json", "pyproject.toml", "setup.py", "test", - "types", + "examples", ".editorconfig", ".github", ".gitignore", diff --git a/cli/src/generate/templates/__init__.py b/cli/src/generate/templates/__init__.py index ee3cc398..d3796ccb 100644 --- a/cli/src/generate/templates/__init__.py +++ b/cli/src/generate/templates/__init__.py @@ -1,3 +1,5 @@ "CAMEL_PARSER_NAME grammar for tree-sitter" from ._binding import language + +__all__ = ["language"]