Procházet zdrojové kódy

.geninfo only saved if changed.

Mark Sibly před 7 roky
rodič
revize
1f55f8a613
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 1 1
      src/mx2cc/.mx2/test.monkey2
  2. 2 1
      src/mx2cc/geninfo/geninfo.monkey2

+ 1 - 1
src/mx2cc/.mx2/test.monkey2

@@ -5,7 +5,7 @@
 
 
 Using std..
 Using std..
 
 
-Function Test:Int()
+Function Testing:Int()
 	
 	
 	Return 0
 	Return 0
 End
 End

+ 2 - 1
src/mx2cc/geninfo/geninfo.monkey2

@@ -23,7 +23,8 @@ Class GeninfoGenerator
 			Local json:=jobj.ToJson()
 			Local json:=jobj.ToJson()
 			
 			
 			CreateDir( ExtractDir( fdecl.gpath ) )
 			CreateDir( ExtractDir( fdecl.gpath ) )
-			SaveString( json,fdecl.gpath )
+			
+			CSaveString( json,fdecl.gpath )
 		Next
 		Next
 		
 		
 	End
 	End