about summary refs log tree commit diff stats
path: root/tree-sitter-yts/bindings
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:26:41 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:26:41 +0100
commit2df1ce51ff25c114011e1d01dbb0b6b6da7b2c1a (patch)
tree3ebc168d36cbb2957fc9ab83e932520a1028ac76 /tree-sitter-yts/bindings
parentbuild(update.sh): Improve recursiveness (diff)
downloadyt-2df1ce51ff25c114011e1d01dbb0b6b6da7b2c1a.tar.gz
yt-2df1ce51ff25c114011e1d01dbb0b6b6da7b2c1a.zip
chore(tree-sitter-yts): Add copyright headers
Diffstat (limited to 'tree-sitter-yts/bindings')
-rw-r--r--tree-sitter-yts/bindings/node/binding.cc10
-rw-r--r--tree-sitter-yts/bindings/node/index.js10
-rw-r--r--tree-sitter-yts/bindings/rust/build.rs10
-rw-r--r--tree-sitter-yts/bindings/rust/lib.rs10
4 files changed, 40 insertions, 0 deletions
diff --git a/tree-sitter-yts/bindings/node/binding.cc b/tree-sitter-yts/bindings/node/binding.cc
index a042be5..fdf44ff 100644
--- a/tree-sitter-yts/bindings/node/binding.cc
+++ b/tree-sitter-yts/bindings/node/binding.cc
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 #include "nan.h"
 #include "tree_sitter/parser.h"
 #include <node.h>
diff --git a/tree-sitter-yts/bindings/node/index.js b/tree-sitter-yts/bindings/node/index.js
index 3217974..580bda0 100644
--- a/tree-sitter-yts/bindings/node/index.js
+++ b/tree-sitter-yts/bindings/node/index.js
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 try {
   module.exports = require("../../build/Release/tree_sitter_yts_binding");
 } catch (error1) {
diff --git a/tree-sitter-yts/bindings/rust/build.rs b/tree-sitter-yts/bindings/rust/build.rs
index c6061f0..075dc92 100644
--- a/tree-sitter-yts/bindings/rust/build.rs
+++ b/tree-sitter-yts/bindings/rust/build.rs
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 fn main() {
     let src_dir = std::path::Path::new("src");
 
diff --git a/tree-sitter-yts/bindings/rust/lib.rs b/tree-sitter-yts/bindings/rust/lib.rs
index f1868b2..0880238 100644
--- a/tree-sitter-yts/bindings/rust/lib.rs
+++ b/tree-sitter-yts/bindings/rust/lib.rs
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 //! This crate provides yts language support for the [tree-sitter][] parsing library.
 //!
 //! Typically, you will use the [language][language func] function to add this language to a