From 6b0bb9c505bdde8e68f55d820268f7062b27a1a6 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 23 Dec 2023 22:24:41 +0100 Subject: [PATCH] chore(treewide): Add license headers --- .envrc | 19 +++++++++++++++++++ Cargo.toml | 19 +++++++++++++++++++ cog.toml | 19 +++++++++++++++++++ docs-header.html | 21 +++++++++++++++++++++ flake.nix | 19 +++++++++++++++++++ src/lib.rs | 21 +++++++++++++++++++++ src/tests.rs | 21 +++++++++++++++++++++ src/trinitry.pest | 19 +++++++++++++++++++ update.sh | 18 ++++++++++++++++++ 9 files changed, 176 insertions(+) diff --git a/.envrc b/.envrc index 96eca6b..ff4c2f7 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,22 @@ +# Copyright (C) 2023 The Trinitrix Project +# +# This file is part of the Trinitry crate for Trinitrix. +# +# Trinitry is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# and the Lesser GNU General Public License along with this program. +# If not, see . + + use flake || use nix watch_file flake.nix diff --git a/Cargo.toml b/Cargo.toml index 7e5737c..add7d84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,22 @@ +# Copyright (C) 2023 The Trinitrix Project +# +# This file is part of the Trinitry crate for Trinitrix. +# +# Trinitry is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# and the Lesser GNU General Public License along with this program. +# If not, see . + + [package] name = "trinitry" version = "0.1.0" diff --git a/cog.toml b/cog.toml index 0f60566..0a5c6a9 100644 --- a/cog.toml +++ b/cog.toml @@ -1,3 +1,22 @@ +# Copyright (C) 2023 The Trinitrix Project +# +# This file is part of the Trinitry crate for Trinitrix. +# +# Trinitry is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# and the Lesser GNU General Public License along with this program. +# If not, see . + + tag_prefix = "v" branch_whitelist = [ "prime" ] ignore_merge_commits = false diff --git a/docs-header.html b/docs-header.html index beafd4d..ba16ddc 100644 --- a/docs-header.html +++ b/docs-header.html @@ -1,3 +1,24 @@ + + + diff --git a/flake.nix b/flake.nix index 73d2db5..1e6fbad 100644 --- a/flake.nix +++ b/flake.nix @@ -1,3 +1,22 @@ +# Copyright (C) 2023 The Trinitrix Project +# +# This file is part of the Trinitry crate for Trinitrix. +# +# Trinitry is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# and the Lesser GNU General Public License along with this program. +# If not, see . + + { description = "A very simple programming language used to map functions to commands"; inputs = { diff --git a/src/lib.rs b/src/lib.rs index 2af4dd3..f291a2b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,24 @@ +/* +* Copyright (C) 2023 The Trinitrix Project +* +* This file is part of the Trinitry crate for Trinitrix. +* +* Trinitry is free software: you can redistribute it and/or modify +* it under the terms of the Lesser GNU General Public License as +* published by the Free Software Foundation, either version 3 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* and the Lesser GNU General Public License along with this program. +* If not, see . +*/ + + //! This crate is a parser for the 'Trinitry' (not 'Trinity') language, used to map all sort of //! Functions to a memorable command. //! diff --git a/src/tests.rs b/src/tests.rs index 4a65b94..dd24856 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1,3 +1,24 @@ +/* +* Copyright (C) 2023 The Trinitrix Project +* +* This file is part of the Trinitry crate for Trinitrix. +* +* Trinitry is free software: you can redistribute it and/or modify +* it under the terms of the Lesser GNU General Public License as +* published by the Free Software Foundation, either version 3 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* and the Lesser GNU General Public License along with this program. +* If not, see . +*/ + + // DO NOT EDIT // This file is automatically generated by the 'update.sh' file, with data from: // https://raw.githubusercontent.com/minimaxir/big-list-of-naughty-strings/master/blns.txt diff --git a/src/trinitry.pest b/src/trinitry.pest index c868a6d..5495f6f 100644 --- a/src/trinitry.pest +++ b/src/trinitry.pest @@ -1,3 +1,22 @@ +// Copyright (C) 2023 The Trinitrix Project +// +// This file is part of the Trinitry crate for Trinitrix. +// +// Trinitry is free software: you can redistribute it and/or modify +// it under the terms of the Lesser GNU General Public License as +// published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// and the Lesser GNU General Public License along with this program. +// If not, see . + + chars = { ASCII_ALPHANUMERIC | "_" | "-" | "." } // TODO(@soispha): Are these all the valid characters? <2023-11-01> diff --git a/update.sh b/update.sh index 51f1f58..973f87e 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,22 @@ #!/usr/bin/env sh +# Copyright (C) 2023 The Trinitrix Project +# +# This file is part of the Trinitry crate for Trinitrix. +# +# Trinitry is free software: you can redistribute it and/or modify +# it under the terms of the Lesser GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# and the Lesser GNU General Public License along with this program. +# If not, see . + # Library {{{ mktmp() {