diff options
Diffstat (limited to '')
-rw-r--r-- | tree-sitter-yts/bindings/node/binding.cc | 10 | ||||
-rw-r--r-- | tree-sitter-yts/bindings/node/index.js | 10 | ||||
-rw-r--r-- | tree-sitter-yts/bindings/rust/build.rs | 10 | ||||
-rw-r--r-- | tree-sitter-yts/bindings/rust/lib.rs | 10 |
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 |