Files
spearhead/SpearheadCompile.py
T
2024-09-24 07:39:11 +02:00

33 lines
648 B
Python

import os
import sys
import glob
def CreateReadme():
print("TODO")
def compileClasses(root):
for subFolder in [ "", ""]:
def compile(root, target):
compiled = ""
for filename in Order:
path = os.path.join(root, filename)
with open(path,'r') as file:
fileContents = file.read()
compiled += fileContents
print(path)
with open(target, "w") as targetFile:
targetFile.write(compiled)
if __name__ == "__main__" :
args = sys.argv[1:]
root = args[0]
target = args[1]
print(f"Source: {root}")
print(f"target: {target}")
compile(root, target)