diff options
author | Oliver Schneider <oliver@assarbad.net> | 2014-01-10 07:14:06 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2014-01-10 07:14:06 +0400 |
commit | 2ab3c5223537b8a2163475e110ca956b41730787 (patch) | |
tree | d176cfe7f28a2bb3f4976c9a00b2d8a644063d04 | |
parent | 2f442bebcdfdda02f37af11b870dfe1beef12401 (diff) |
Also adding the COPYRIGHT_Lua51 from upstream and a README.premake detailing the changes compared to vanilla LuaSrcDiet
--HG--
branch : WDS-build
-rw-r--r-- | scripts/luasrcdiet/COPYRIGHT_Lua51 | 34 | ||||
-rw-r--r-- | scripts/luasrcdiet/README.premake | 12 |
2 files changed, 46 insertions, 0 deletions
diff --git a/scripts/luasrcdiet/COPYRIGHT_Lua51 b/scripts/luasrcdiet/COPYRIGHT_Lua51 new file mode 100644 index 0000000..3a53e74 --- /dev/null +++ b/scripts/luasrcdiet/COPYRIGHT_Lua51 @@ -0,0 +1,34 @@ +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 http://www.lua.org/license.html . + +=============================================================================== + +Copyright (C) 1994-2008 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. + +=============================================================================== + +(end of COPYRIGHT) diff --git a/scripts/luasrcdiet/README.premake b/scripts/luasrcdiet/README.premake new file mode 100644 index 0000000..859d762 --- /dev/null +++ b/scripts/luasrcdiet/README.premake @@ -0,0 +1,12 @@ +This is a patched up version of LuaSrcDiet 0.12.1. + +The following changes were implemented: + +* added local variables 'loaded_file_contents' and 'saved_file_contents'. +* overriding load_file() to store the loaded file contents in above mentioned + variable. +* overriding save_file() to store trimmed down source in above mentioned + variable. + ATTENTION: there are multiple functions of that name! +* commented out the "main functions" (search for this text). +* added function get_slim_luasrc() to return trimmed down code. |