Quellcode durchsuchen

Print informations when compiling lua files

Daniele Bartolini vor 12 Jahren
Ursprung
Commit
8457994a57
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      tools/pycrown/Compiler.py

+ 6 - 1
tools/pycrown/Compiler.py

@@ -104,7 +104,12 @@ class Compiler:
 			head, out_filename = os.path.split(res)
 			head, out_filename = os.path.split(res)
 			out_filename, ext = os.path.splitext(out_filename)
 			out_filename, ext = os.path.splitext(out_filename)
 
 
-			f = subprocess.call([LUAJIT, OPTION, path_in, path_out + "/" + out_filename + ".raw"]);
+			res_in = res
+			res_out = out_filename + ".raw"
+
+			print(res_out, "<=", res_in)
+
+			f = subprocess.call([LUAJIT, OPTION, path_in, path_out + "/" + res_out]);
 	
 	
 	# Compiles all the vertex shader resources in the repository
 	# Compiles all the vertex shader resources in the repository
 	def compile_vertex_shaders(self):
 	def compile_vertex_shaders(self):