forked from UNLOZE/sm-plugins
Compile script beauty fixes
This commit is contained in:
+3
-1
@@ -21,8 +21,8 @@ if __name__ == "__main__":
|
||||
SourcePath = os.path.join(Plugin, "scripting")
|
||||
Path, Directories, Files = next(os.walk(SourcePath))
|
||||
for File in Files:
|
||||
print('\n' + c_green + "# Compiling {0} ({1})".format(os.path.basename(File), Plugin) + c_null)
|
||||
if File.endswith(".sp"):
|
||||
print(c_green + "# Compiling {0} ({1})".format(os.path.basename(File), Plugin) + c_null)
|
||||
SourcePath = os.path.join(Path, File)
|
||||
IncludePath = os.path.join(Path, "include")
|
||||
OutDir = "plugins"
|
||||
@@ -38,3 +38,5 @@ if __name__ == "__main__":
|
||||
subprocess.run(Compiler, check=True)
|
||||
except Exception:
|
||||
sys.exit(1)
|
||||
|
||||
print("")
|
||||
|
||||
Reference in New Issue
Block a user