moved files and added compile script
This commit is contained in:
+2
-3
@@ -3,11 +3,10 @@ import sys
|
|||||||
import glob
|
import glob
|
||||||
|
|
||||||
def compileClasses(classesPath):
|
def compileClasses(classesPath):
|
||||||
global resultString
|
global resultString = ""
|
||||||
resultString = ""
|
|
||||||
for name in glob.glob(f"{classesPath}/**/*.lua"):
|
for name in glob.glob(f"{classesPath}/**/*.lua"):
|
||||||
with open(name, 'r') as file:
|
with open(name, 'r') as file:
|
||||||
resutlString += file.read()
|
resultString += file.read()
|
||||||
return resultString
|
return resultString
|
||||||
|
|
||||||
def compile(root, target):
|
def compile(root, target):
|
||||||
|
|||||||
Reference in New Issue
Block a user