From 82735f849c8ffe6da97c4cc3f1907c446d21d38a Mon Sep 17 00:00:00 2001 From: David Vogel Date: Wed, 18 Dec 2024 20:48:49 +0100 Subject: [PATCH] Add MIT license --- .vscode/settings.json | 3 ++- LICENSE | 21 +++++++++++++++++++++ cli-options.go | 5 +++++ cli.go | 5 +++++ cli_test.go | 5 +++++ cli_unix.go | 5 +++++ cli_windows.go | 5 +++++ errors.go | 5 +++++ errors_test.go | 5 +++++ identifier.go | 5 +++++ identifier_test.go | 5 +++++ variable-encoder.go | 5 +++++ variable-encoder_test.go | 5 +++++ 13 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/.vscode/settings.json b/.vscode/settings.json index ab86f4f..8e9c885 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,7 @@ "cSpell.words": [ "Dadido", "Foogaloo", - "typst" + "typst", + "Vogel" ] } \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0ed5f3a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 David Vogel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/cli-options.go b/cli-options.go index 6b342e7..b031e8a 100644 --- a/cli-options.go +++ b/cli-options.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/cli.go b/cli.go index 9f1eaa9..e68dbb7 100644 --- a/cli.go +++ b/cli.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/cli_test.go b/cli_test.go index a202dcb..14b7c93 100644 --- a/cli_test.go +++ b/cli_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst_test import ( diff --git a/cli_unix.go b/cli_unix.go index 0e0a81c..46c763a 100644 --- a/cli_unix.go +++ b/cli_unix.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + //go:build unix package typst diff --git a/cli_windows.go b/cli_windows.go index d0387d6..20b38de 100644 --- a/cli_windows.go +++ b/cli_windows.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + //go:build windows package typst diff --git a/errors.go b/errors.go index c27b6a0..4025fde 100644 --- a/errors.go +++ b/errors.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/errors_test.go b/errors_test.go index 2641e87..25dae60 100644 --- a/errors_test.go +++ b/errors_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst_test import ( diff --git a/identifier.go b/identifier.go index 875c0be..ff76c3b 100644 --- a/identifier.go +++ b/identifier.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/identifier_test.go b/identifier_test.go index b7a664b..a784204 100644 --- a/identifier_test.go +++ b/identifier_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/variable-encoder.go b/variable-encoder.go index 33ed35e..9b5f2fc 100644 --- a/variable-encoder.go +++ b/variable-encoder.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import ( diff --git a/variable-encoder_test.go b/variable-encoder_test.go index ef503b6..b5b59e6 100644 --- a/variable-encoder_test.go +++ b/variable-encoder_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2024 David Vogel +// +// This software is released under the MIT License. +// https://opensource.org/licenses/MIT + package typst import (