From a1b571d7c09a2884f181a8461c6d204d37c72770 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sat, 29 Jun 2024 15:52:47 -0400 Subject: [PATCH] copy over LICENSE to minified output directory --- build/safemin.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/safemin.py b/build/safemin.py index b1b710c..2576159 100644 --- a/build/safemin.py +++ b/build/safemin.py @@ -71,3 +71,10 @@ for _, d in enumerate(dirs): minify("startup.lua") minify("initenv.lua") minify("configure.lua") + +# copy in license for build usage +lic1 = open("LICENSE", "r") +lic2 = open("_minified/LICENSE", "w") +lic2.write(lic1.read()) +lic1.close() +lic2.close()