From 5cbd5ae8fff492444be02222acdfbb6338b74fdf Mon Sep 17 00:00:00 2001 From: routersys Date: Sat, 27 Jun 2026 17:26:50 +0900 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=A2=B1=E3=83=A9=E3=82=A4=E3=83=96?= =?UTF-8?q?=E3=83=A9=E3=83=AA=E3=81=AE=E3=83=A9=E3=82=A4=E3=82=BB=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97=E3=83=AA=E3=83=AA?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E3=81=AB=E5=90=8C=E6=A2=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/LICENSE/Lua.txt | 32 ++++++++++++++++++++ .github/LICENSE/LuaJIT.txt | 56 +++++++++++++++++++++++++++++++++++ .github/LICENSE/MoonSharp.txt | 38 ++++++++++++++++++++++++ .github/workflows/release.yml | 2 ++ 4 files changed, 128 insertions(+) create mode 100644 .github/LICENSE/Lua.txt create mode 100644 .github/LICENSE/LuaJIT.txt create mode 100644 .github/LICENSE/MoonSharp.txt diff --git a/.github/LICENSE/Lua.txt b/.github/LICENSE/Lua.txt new file mode 100644 index 0000000..2d749c4 --- /dev/null +++ b/.github/LICENSE/Lua.txt @@ -0,0 +1,32 @@ +Lua License +----------- + +Lua is licensed under the terms of the MIT license reproduced below. This means +that Lua is free software and can be used for both academic and commercial +purposes at absolutely no cost. + +For details and rationale, see https://www.lua.org/license.html . + +=============================================================================== + +Copyright (C) 1994-2025 Lua.org, PUC-Rio. + +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. + +=============================================================================== diff --git a/.github/LICENSE/LuaJIT.txt b/.github/LICENSE/LuaJIT.txt new file mode 100644 index 0000000..955d0d1 --- /dev/null +++ b/.github/LICENSE/LuaJIT.txt @@ -0,0 +1,56 @@ +=============================================================================== +LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ + +Copyright (C) 2005-2026 Mike Pall. All rights reserved. + +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. + +[ MIT license: https://www.opensource.org/licenses/mit-license.php ] + +=============================================================================== +[ LuaJIT includes code from Lua 5.1/5.2, which has this license statement: ] + +Copyright (C) 1994-2012 Lua.org, PUC-Rio. + +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. + +=============================================================================== +[ LuaJIT includes code from dlmalloc, which has this license statement: ] + +This is a version (aka dlmalloc) of malloc/free/realloc written by +Doug Lea and released to the public domain, as explained at +https://creativecommons.org/licenses/publicdomain + +=============================================================================== diff --git a/.github/LICENSE/MoonSharp.txt b/.github/LICENSE/MoonSharp.txt new file mode 100644 index 0000000..33d2130 --- /dev/null +++ b/.github/LICENSE/MoonSharp.txt @@ -0,0 +1,38 @@ +Copyright (c) 2014-2016, Marco Mastropaolo +All rights reserved. + +Parts of the string library are based on the KopiLua project (https://github.com/NLua/KopiLua) +Copyright (c) 2012 LoDC + +Visual Studio Code debugger code is based on code from Microsoft vscode-mono-debug project (https://github.com/Microsoft/vscode-mono-debug). +Copyright (c) Microsoft Corporation - released under MIT license. + +Remote Debugger icons are from the Eclipse project (https://www.eclipse.org/). +Copyright of The Eclipse Foundation + +The MoonSharp icon is (c) Isaac, 2014-2015 + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7358ea6..565a6a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,7 @@ jobs: New-Item -ItemType Directory -Path "$stageRoot/docs" -Force | Out-Null New-Item -ItemType Directory -Path "$stageRoot/native" -Force | Out-Null + New-Item -ItemType Directory -Path "$stageRoot/LICENSE" -Force | Out-Null Copy-Item "$outDir/LuaScript.dll" "$stageRoot/" Copy-Item "$outDir/MoonSharp.Interpreter.dll" "$stageRoot/" @@ -87,6 +88,7 @@ jobs: } Copy-Item "LuaScript/docs/LuaScript.*.txt" "$stageRoot/docs/" + Copy-Item ".github/LICENSE/*.txt" "$stageRoot/LICENSE/" Copy-Item ".github/Plugin_Readme.txt" "$stageRoot/Readme.txt" Compress-Archive -Path "stage/*" -DestinationPath $pkgName -CompressionLevel Optimal