forked from UNLOZE/sm-plugins
Lots of small fixes/improvements
This commit is contained in:
+6
-2
@@ -3,6 +3,11 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
c_null = "\x1b[00;00m"
|
||||
c_red = "\x1b[31;01m"
|
||||
c_blue = "\x1b[34;01m"
|
||||
c_green = "\x1b[32;01m"
|
||||
|
||||
SM_INCLUDES = "includes"
|
||||
SPCOMP = "./spcomp"
|
||||
|
||||
@@ -13,11 +18,10 @@ if __name__ == "__main__":
|
||||
Plugins.append(Directory)
|
||||
|
||||
for Plugin in Plugins:
|
||||
print("Compiling {0}".format(Plugin))
|
||||
|
||||
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"):
|
||||
SourcePath = os.path.join(Path, File)
|
||||
IncludePath = os.path.join(Path, "include")
|
||||
|
||||
Reference in New Issue
Block a user